Fix console error when receiving a new message in the system console or on another team (#3688)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
fc7ae6ba65
Коммит
a88ff1b64d
@@ -22,8 +22,10 @@ export function handleNewPost(post, msg) {
|
||||
} else {
|
||||
AsyncClient.getChannel(post.channel_id);
|
||||
}
|
||||
} else if (msg && (TeamStore.getCurrentId() === msg.team_id || msg.props.channel_type === Constants.DM_CHANNEL)) {
|
||||
AsyncClient.getChannel(post.channel_id);
|
||||
} else if (msg && (TeamStore.getCurrentId() === msg.team_id || msg.data.channel_type === Constants.DM_CHANNEL)) {
|
||||
if (Client.teamId) {
|
||||
AsyncClient.getChannel(post.channel_id);
|
||||
}
|
||||
}
|
||||
|
||||
var websocketMessageProps = null;
|
||||
|
||||
Ссылка в новой задаче
Block a user