Merge pull request #201 from velour/fix_users_again

slackApp: fix user detection
This commit is contained in:
Chris Sexton 2019-09-26 10:41:26 -04:00 committed by GitHub
commit a5301983e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,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).