Этот коммит содержится в:
Asaad Mahmood
2015-10-23 21:33:15 +05:00
родитель fde05f83f3 a7852a4810
Коммит e82e09c743
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@@ -152,14 +152,14 @@ export function getChannel(id) {
);
}
export function updateLastViewedAt() {
export function updateLastViewedAt(force) {
const channelId = ChannelStore.getCurrentId();
if (channelId === null) {
return;
}
if (isCallInProgress(`updateLastViewed${channelId}`)) {
if (isCallInProgress(`updateLastViewed${channelId}`) && !force) {
return;
}