Save unread count
This commit is contained in:
parent
ae0d3d5388
commit
379be5436d
|
@ -428,6 +428,7 @@ func (b *memoryBackend) updateChannelUnreadCount(conn redis.Conn, channel string
|
|||
if err != nil {
|
||||
return fmt.Errorf("error: while updating channel unread count for %s: %s", channel, err)
|
||||
}
|
||||
defer b.save()
|
||||
c.Unread = unread
|
||||
b.Channels[channel] = c
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user