mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-19 20:43:04 -06:00
- Remove console.log usage
This commit is contained in:
parent
c920dd12cb
commit
0e755bc350
@ -17,7 +17,6 @@ if (!globalThis.fetch) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = function(RED) {
|
module.exports = function(RED) {
|
||||||
console.log(RED.settings.contextStorage);
|
|
||||||
// disable logging if set to "off"
|
// disable logging if set to "off"
|
||||||
let loggingSettings = RED.settings.get('logging');
|
let loggingSettings = RED.settings.get('logging');
|
||||||
if(
|
if(
|
||||||
@ -270,7 +269,6 @@ module.exports = function(RED) {
|
|||||||
|
|
||||||
if (member.membership === "invite" && member.userId === node.userId) {
|
if (member.membership === "invite" && member.userId === node.userId) {
|
||||||
node.log("Got invite to join room " + member.roomId);
|
node.log("Got invite to join room " + member.roomId);
|
||||||
console.log(event);
|
|
||||||
if(node.autoAcceptRoomInvites) {
|
if(node.autoAcceptRoomInvites) {
|
||||||
node.matrixClient.joinRoom(member.roomId).then(function() {
|
node.matrixClient.joinRoom(member.roomId).then(function() {
|
||||||
node.log("Automatically accepted invitation to join room " + member.roomId);
|
node.log("Automatically accepted invitation to join room " + member.roomId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user