3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

Merge pull request #1063 from slingamn/history_registeredonly

fix #1061
This commit is contained in:
Shivaram Lingamneni 2020-05-26 13:22:12 -07:00 committed by GitHub
commit c1d4c5596d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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