Added preference_changed web socket event
Этот коммит содержится в:
@@ -95,9 +95,11 @@ func ShouldSendEvent(webCon *WebConn, msg *model.Message) bool {
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
// Don't share a user's view events with other users
|
||||
// Don't share a user's view or preference events with other users
|
||||
if msg.Action == model.ACTION_CHANNEL_VIEWED {
|
||||
return false
|
||||
} else if msg.Action == model.ACTION_PREFERENCE_CHANGED {
|
||||
return false
|
||||
}
|
||||
|
||||
// Only report events to a user who is the subject of the event, or is in the channel of the event
|
||||
|
||||
Ссылка в новой задаче
Block a user