summaryrefslogtreecommitdiffstats
path: root/app/web_conn.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/web_conn.go')
-rw-r--r--app/web_conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/web_conn.go b/app/web_conn.go
index 47fae24c3..1c314bb11 100644
--- a/app/web_conn.go
+++ b/app/web_conn.go
@@ -334,7 +334,7 @@ func (webCon *WebConn) ShouldSendEvent(msg *model.WebSocketEvent) bool {
}
if webCon.AllChannelMembers == nil {
- if result := <-webCon.App.Srv.Store.Channel().GetAllChannelMembersForUser(webCon.UserId, true); result.Err != nil {
+ if result := <-webCon.App.Srv.Store.Channel().GetAllChannelMembersForUser(webCon.UserId, true, false); result.Err != nil {
mlog.Error("webhub.shouldSendEvent: " + result.Err.Error())
return false
} else {