mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 11:42:03 -08:00
Fix Update userlist on join (slack). Closes #372
This commit is contained in:
parent
cce7624ab8
commit
f82a9cc7ac
@ -343,7 +343,7 @@ func (b *Bslack) handleSlackClient(mchan chan *MMMessage) {
|
||||
switch ev := msg.Data.(type) {
|
||||
case *slack.MessageEvent:
|
||||
// update the userlist on a channel_join
|
||||
if message.Raw.SubType == "channel_join" {
|
||||
if ev.SubType == "channel_join" {
|
||||
b.Users, _ = b.sc.GetUsers()
|
||||
}
|
||||
if ev.SubType == "pinned_item" || ev.SubType == "unpinned_item" {
|
||||
|
Loading…
Reference in New Issue
Block a user