mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
* fix #2133 Don't record NICK and QUIT in history for invisible auditorium members
This commit is contained in:
parent
681e8b1292
commit
8d082865da
3 changed files with 29 additions and 4 deletions
|
|
@ -120,7 +120,9 @@ func performNickChange(server *Server, client *Client, target *Client, session *
|
|||
}
|
||||
|
||||
for _, channel := range target.Channels() {
|
||||
channel.AddHistoryItem(histItem, details.account)
|
||||
if channel.memberIsVisible(client) {
|
||||
channel.AddHistoryItem(histItem, details.account)
|
||||
}
|
||||
}
|
||||
|
||||
newCfnick := target.NickCasefolded()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue