PLT-4716 fixes cache invalidation issue (#4518)

* PLT-4716 fixes cache invalidation issue

* Adding missing interface

* Adding cache invalidation to channel notification preferences

* Adding cache invalidation to channel notification preferences
Этот коммит содержится в:
Corey Hulen
2016-11-10 06:25:23 -08:00
коммит произвёл Harrison Healey
родитель b46ced78de
Коммит 41b31b4c92
5 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@@ -112,6 +112,7 @@ func InvalidateCacheForUser(userId string) {
func InvalidateCacheForUserSkipClusterSend(userId string) {
Srv.Store.Channel().InvalidateAllChannelMembersForUser(userId)
Srv.Store.User().InvalidateProfilesInChannelCacheByUser(userId)
GetHubForUserId(userId).InvalidateUser(userId)
}