guess this is too restrictive
This commit is contained in:
parent
34cc516aa9
commit
758440776c
1
honk.go
1
honk.go
|
@ -141,7 +141,6 @@ func (mention *Mention) IsPresent(noise string) bool {
|
||||||
if idx != -1 {
|
if idx != -1 {
|
||||||
nick = nick[:idx]
|
nick = nick[:idx]
|
||||||
}
|
}
|
||||||
nick += "<"
|
|
||||||
return strings.Contains(noise, ">@"+nick) || strings.Contains(noise, "@<span>"+nick)
|
return strings.Contains(noise, ">@"+nick) || strings.Contains(noise, "@<span>"+nick)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue