Allow clearing direct messages across team based on channel view events (#3176)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
5f7ce2214a
Коммит
7be2a05cf5
@@ -245,7 +245,7 @@ function handleUserRemovedEvent(msg) {
|
||||
|
||||
function handleChannelViewedEvent(msg) {
|
||||
// Useful for when multiple devices have the app open to different channels
|
||||
if (TeamStore.getCurrentId() === msg.team_id && ChannelStore.getCurrentId() !== msg.channel_id && UserStore.getCurrentId() === msg.user_id) {
|
||||
if (ChannelStore.getCurrentId() !== msg.channel_id && UserStore.getCurrentId() === msg.user_id) {
|
||||
AsyncClient.getChannel(msg.channel_id);
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user