Add config setting to disable statuses (#6254)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
a8cf08d6ef
Коммит
1b82d98cdb
@@ -229,9 +229,7 @@ function handleNewPostEvent(msg) {
|
||||
posts[post.id] = post;
|
||||
loadProfilesForPosts(posts);
|
||||
|
||||
if (UserStore.getStatus(post.user_id) !== UserStatuses.ONLINE) {
|
||||
StatusActions.loadStatusesByIds([post.user_id]);
|
||||
}
|
||||
UserStore.setStatus(post.user_id, UserStatuses.ONLINE);
|
||||
}
|
||||
|
||||
function handlePostEditEvent(msg) {
|
||||
@@ -375,9 +373,7 @@ function handlePreferencesDeletedEvent(msg) {
|
||||
function handleUserTypingEvent(msg) {
|
||||
GlobalActions.emitRemoteUserTypingEvent(msg.broadcast.channel_id, msg.data.user_id, msg.data.parent_id);
|
||||
|
||||
if (UserStore.getStatus(msg.data.user_id) !== UserStatuses.ONLINE) {
|
||||
StatusActions.loadStatusesByIds([msg.data.user_id]);
|
||||
}
|
||||
UserStore.setStatus(msg.data.user_id, UserStatuses.ONLINE);
|
||||
}
|
||||
|
||||
function handleStatusChangedEvent(msg) {
|
||||
|
||||
Ссылка в новой задаче
Block a user