@hubot-friends/hubot-slack
Advanced tools
Comparing version
{ | ||
"name": "@hubot-friends/hubot-slack", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "A new Slack adapter for Hubot", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/hubot-friends/hubot-slack#readme", |
@@ -460,3 +460,7 @@ const {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage, User} = require.main.require("hubot/es2015.js"); | ||
from.room = channel ?? ''; | ||
from.name = from.profile.display_name; | ||
// looks like sometimes the profile is not set | ||
if (from.profile) { | ||
from.name = from.profile.display_name; | ||
} | ||
@@ -463,0 +467,0 @@ // add the bot id to the message if it's a direct message |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
211868
-0.05%