🚑 Fix typing cache map is nil
This commit is contained in:
parent
f97cb877f5
commit
e5c46a89df
@ -21,7 +21,7 @@ type statusQueryCacheEntry struct {
|
|||||||
var statusQueryCacheLock sync.Mutex
|
var statusQueryCacheLock sync.Mutex
|
||||||
|
|
||||||
// Map for caching typing status queries [channel id][user id]
|
// Map for caching typing status queries [channel id][user id]
|
||||||
var statusQueryCache map[uint]map[uint]statusQueryCacheEntry
|
var statusQueryCache = make(map[uint]map[uint]statusQueryCacheEntry)
|
||||||
|
|
||||||
func SetTypingStatus(channelId uint, userId uint) error {
|
func SetTypingStatus(channelId uint, userId uint) error {
|
||||||
var account models.Account
|
var account models.Account
|
||||||
|
Loading…
Reference in New Issue
Block a user