diff options
Diffstat (limited to 'warmachine')
| -rw-r--r-- | warmachine/connections/slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/warmachine/connections/slack.py b/warmachine/connections/slack.py index deb0a8e..5556abd 100644 --- a/warmachine/connections/slack.py +++ b/warmachine/connections/slack.py | |||
| @@ -112,8 +112,8 @@ class SlackWS(Connection): | |||
| 112 | destination)) | 112 | destination)) |
| 113 | 113 | ||
| 114 | # slack doesn't allow bots to message other bots | 114 | # slack doesn't allow bots to message other bots |
| 115 | if '#' not in destination and (self.user_map[_user]['is_bot'] or\ | 115 | if '#' not in destination and (self.user_map[_user]['deleted'] or \ |
| 116 | self.user_map[_user]['deleted']): | 116 | self.user_map[_user]['is_bot']): |
| 117 | return | 117 | return |
| 118 | 118 | ||
| 119 | destination = self.get_dm_id_by_user(_user) | 119 | destination = self.get_dm_id_by_user(_user) |