Skip to content
Snippets Groups Projects
Unverified Commit d9112355 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Use bot_id instead of Unknown Bot

parent 29dc6ac6
No related branches found
No related tags found
No related merge requests found
......@@ -340,9 +340,9 @@ class SlackBridge {
rid: room._id,
bot: true,
attachments: message.attachments,
username: message.username || 'Unknown BOT'
username: message.username || message.bot_id
};
this.addAlias(message.username || 'Unknown BOT', msgObj);
this.addAlias(message.username || message.bot_id, msgObj);
if (message.icons) {
msgObj.emoji = message.icons.emoji;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment