1
0
Fork 0
forked from External/ergo

Merge pull request #1189 from slingamn/tagmsg_storage.1

make TAGMSG storage configurable
This commit is contained in:
Shivaram Lingamneni 2020-07-12 10:57:00 -07:00 committed by GitHub
commit 0a6c1f7cc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 74 additions and 26 deletions

View file

@ -646,7 +646,7 @@ func channelHistoryStatus(config *Config, registered bool, storedStatus HistoryS
}
func (channel *Channel) AddHistoryItem(item history.Item, account string) (err error) {
if !item.IsStorable() {
if !itemIsStorable(&item, channel.server.Config()) {
return
}