diff options
author | Hubert Hirtz <hubert@hirtz.pm> | 2021-03-29 14:52:52 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-04-26 22:40:59 +0200 |
commit | 5e2bbb5b6d8d85fca8823c7280e3f81c4a2d90cf (patch) | |
tree | 101c94c80d755b4c89cd184ec2fd98c5de91f176 /irc | |
parent | Add PHONY Makefile targets (diff) |
Don't show own typing notifications
Diffstat (limited to 'irc')
-rw-r--r-- | irc/states.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/states.go b/irc/states.go index b6db9d0..b0e711f 100644 --- a/irc/states.go +++ b/irc/states.go @@ -325,7 +325,7 @@ func (s *Session) Typings(target string) []string { targetCf := s.Casemap(target) var res []string for t := range s.typings.targets { - if targetCf == t.Target { + if targetCf == t.Target && s.Casemap(t.Name) != s.NickCf() { res = append(res, s.users[t.Name].Name.Name) } } |