1
0
Fork 0
forked from External/ergo

remove redundant database write on always-on recreation

This commit is contained in:
Shivaram Lingamneni 2020-03-02 01:22:00 -05:00
parent b4f720ae04
commit a74450d6ca
2 changed files with 5 additions and 3 deletions

View file

@ -720,7 +720,7 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp
channel.AddHistoryItem(histItem)
}
client.addChannel(channel)
client.addChannel(channel, rb == nil)
if rb == nil {
return