Remove channel_list from end of Sync Loop

## Issue
- Slow for users with many channels.
- The need to do it in Sync Loop is more applicable to Desktop.

## Approach
- Just remove it from sync loop.
- It will still be called when entering `/$/channels`, so that's an alternative to fix things when it is out of sync.
This commit is contained in:
infinite-persistence 2021-12-30 09:54:47 +08:00 committed by Thomas Zarebczan
parent cd9dc5cf96
commit 39a0beb4ee

View file

@ -671,8 +671,6 @@ export function doHandleSyncComplete(error, hasNewData, syncId) {
}
dispatch(doGetAndPopulatePreferences(syncId));
// we just got sync data, better update our channels
dispatch(doFetchChannelListMine());
}
} else {
console.error('Error in doHandleSyncComplete', error);