From d3cd5f2ab480e25d1561a418dc4b6bbf83f3a15c Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 26 Sep 2019 10:31:09 -0400 Subject: [PATCH] slackApp: fix user detection ...again. Just had to turn the e-brake off and flip an equality. --- connectors/slackapp/slackApp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectors/slackapp/slackApp.go b/connectors/slackapp/slackApp.go index 30f11e6..ad0b42b 100644 --- a/connectors/slackapp/slackApp.go +++ b/connectors/slackapp/slackApp.go @@ -525,7 +525,7 @@ func (s *SlackApp) Who(id string) []string { log.Error().Msg("empty member") } u := s.getUser(m, "unknown") - if u != "unknown" { + if u == "unknown" { log.Error(). Err(err). Str("user", m).