summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-12-22 07:52:02 -0500
committerJoram Wilander <jwawilander@gmail.com>2016-12-22 07:52:02 -0500
commitc434e84114ef14b7a53ad25c658aaf5156f6d949 (patch)
treed5b26a01be90e80ef29e4be6cf5c0cdfdb571b96 /api/context.go
parent64a86bd32f82b8c9c943c38949f6f7e105bcd54e (diff)
downloadchat-c434e84114ef14b7a53ad25c658aaf5156f6d949.tar.gz
chat-c434e84114ef14b7a53ad25c658aaf5156f6d949.tar.bz2
chat-c434e84114ef14b7a53ad25c658aaf5156f6d949.zip
Adding session cache directly to web-conn (#4861)
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/context.go b/api/context.go
index 765bb502a..7f95fdfbc 100644
--- a/api/context.go
+++ b/api/context.go
@@ -566,6 +566,8 @@ func RemoveAllSessionsForUserIdSkipClusterSend(userId string) {
}
}
+ InvalidateWebConnSessionCacheForUser(userId)
+
}
func AddSessionToCache(session *model.Session) {