mirror of https://github.com/velour/catbase.git
slackApp: fix user detection
...again. Just had to turn the e-brake off and flip an equality.
This commit is contained in:
parent
a9015e27ea
commit
d3cd5f2ab4
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue