make TAGMSG storage configurable

This commit is contained in:
Shivaram Lingamneni 2020-07-09 18:36:45 -04:00
parent f2d0842453
commit bca3dd0b41
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
}