summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-03-29 14:52:52 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-04-26 22:40:59 +0200
commit5e2bbb5b6d8d85fca8823c7280e3f81c4a2d90cf (patch)
tree101c94c80d755b4c89cd184ec2fd98c5de91f176 /irc
parentAdd PHONY Makefile targets (diff)
Don't show own typing notifications
Diffstat (limited to 'irc')
-rw-r--r--irc/states.go2
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)
}
}