Add notifications to channels

This commit is contained in:
Peter Stuifzand 2018-10-03 18:57:37 +02:00
parent 2288e70e85
commit 9c3e884fd1
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -116,6 +116,8 @@ func (b *memoryBackend) refreshChannels() {
defer conn.Close()
conn.Do("DEL", "channels")
conn.Do("SADD", "channels", "notifications")
conn.Do("SETNX", "channel_sortorder_notifications", 1)
b.lock.RLock()