summaryrefslogtreecommitdiffstats
path: root/api/web_team_hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/web_team_hub.go')
-rw-r--r--api/web_team_hub.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/web_team_hub.go b/api/web_team_hub.go
index 12a14da17..6a25b7d3d 100644
--- a/api/web_team_hub.go
+++ b/api/web_team_hub.go
@@ -96,8 +96,7 @@ func ShouldSendEvent(webCon *WebConn, msg *model.Message) bool {
}
} else {
// Don't share a user's view events with other users
- // but you still need to share it with yourself
- if webCon.UserId != msg.UserId && msg.Action == model.ACTION_CHANNEL_VIEWED {
+ if msg.Action == model.ACTION_CHANNEL_VIEWED {
return false
}