mirror of https://github.com/velour/catbase.git
Merge pull request #201 from velour/fix_users_again
slackApp: fix user detection
This commit is contained in:
commit
a5301983e4
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue