mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 07:29:31 +01:00
Merge pull request #1063 from slingamn/history_registeredonly
fix #1061
This commit is contained in:
commit
c1d4c5596d
@ -1997,7 +1997,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
|||||||
AccountName: accountName,
|
AccountName: accountName,
|
||||||
Tags: tags,
|
Tags: tags,
|
||||||
}
|
}
|
||||||
if !item.IsStorable() {
|
if !item.IsStorable() || !allowedPlusR {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
targetedItem := item
|
targetedItem := item
|
||||||
|
Loading…
Reference in New Issue
Block a user