remove log statements
This commit is contained in:
parent
e37502972c
commit
cef8acad0c
@ -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);
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
@help-bot:rhok.space [17:39:36]: Facilitator Demo Account has joined the chat.
|
||||
@ocrcc-facilitator-demo:rhok.space [17:39:48]: heyooo
|
||||
@help-bot:rhok.space [17:41:13]: Bleep bloop
|
||||
@help-bot:rhok.space [17:41:21]: 20 Mar 2020 - 17:39:35 - !HyOQxerRxiwlUBolJA:rhok.space.txt
|
||||
@95326bf0-cd5e-45d7-be64-cb413d37d929:rhok.space [17:42:01]: hi
|
Loading…
Reference in New Issue
Block a user