Add notifications to channels
This commit is contained in:
parent
2288e70e85
commit
9c3e884fd1
|
@ -116,6 +116,8 @@ func (b *memoryBackend) refreshChannels() {
|
||||||
defer conn.Close()
|
defer conn.Close()
|
||||||
|
|
||||||
conn.Do("DEL", "channels")
|
conn.Do("DEL", "channels")
|
||||||
|
|
||||||
|
conn.Do("SADD", "channels", "notifications")
|
||||||
conn.Do("SETNX", "channel_sortorder_notifications", 1)
|
conn.Do("SETNX", "channel_sortorder_notifications", 1)
|
||||||
|
|
||||||
b.lock.RLock()
|
b.lock.RLock()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user