Reset event.go
This commit is contained in:
parent
65073b8464
commit
e204e43d4c
@ -139,10 +139,9 @@ func messageHandler(ctx *context.AppContext) {
|
||||
// I'm currently in a channel but not in the terminal
|
||||
// window (tmux). But only create a notification when
|
||||
// it comes from someone else but the current user.
|
||||
// if ev.User != ctx.Service.CurrentUserID {
|
||||
// actionNewMessage(ctx, ev)
|
||||
// }
|
||||
actionNewMessage(ctx, ev)
|
||||
if ev.User != ctx.Service.CurrentUserID {
|
||||
actionNewMessage(ctx, ev)
|
||||
}
|
||||
case *slack.PresenceChangeEvent:
|
||||
actionSetPresence(ctx, ev.User, ev.Presence)
|
||||
case *slack.RTMError:
|
||||
|
Loading…
Reference in New Issue
Block a user