remove log statements
This commit is contained in:
@@ -269,7 +269,9 @@ class OcrccBot {
|
||||
}
|
||||
|
||||
sendTranscript(senderId, roomId) {
|
||||
const transcriptFile = this.activeChatrooms[roomId].transcriptFile;
|
||||
const transcriptFile = this.activeChatrooms[roomId]
|
||||
? this.activeChatrooms[roomId].transcriptFile
|
||||
: false;
|
||||
if (!transcriptFile) {
|
||||
this.sendTextMessage(
|
||||
roomId,
|
||||
@@ -440,11 +442,6 @@ class OcrccBot {
|
||||
});
|
||||
// unencrypted messages
|
||||
this.client.on("Room.timeline", (event, room, toStartOfTimeline) => {
|
||||
if (event.getType() === "m.room.message") {
|
||||
logger.log("info", event);
|
||||
logger.log("info", this.client.isCryptoEnabled());
|
||||
logger.log("info", event.isEncrypted());
|
||||
}
|
||||
if (event.getType() === "m.room.message" && !event.isEncrypted()) {
|
||||
this.handleMessageEvent(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user