slackApp: fix user detection

...again. Just had to turn the e-brake off and flip an equality.
This commit is contained in:
Chris Sexton 2019-09-26 10:31:09 -04:00
parent a9015e27ea
commit d3cd5f2ab4
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ func (s *SlackApp) Who(id string) []string {
log.Error().Msg("empty member") log.Error().Msg("empty member")
} }
u := s.getUser(m, "unknown") u := s.getUser(m, "unknown")
if u != "unknown" { if u == "unknown" {
log.Error(). log.Error().
Err(err). Err(err).
Str("user", m). Str("user", m).