Reset event.go

This commit is contained in:
erroneousboat 2018-10-13 15:51:30 +02:00
parent 65073b8464
commit e204e43d4c

View File

@ -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: