mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +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,
|
||||
Tags: tags,
|
||||
}
|
||||
if !item.IsStorable() {
|
||||
if !item.IsStorable() || !allowedPlusR {
|
||||
return
|
||||
}
|
||||
targetedItem := item
|
||||
|
Loading…
Reference in New Issue
Block a user