diff --git a/src/chat/events/registerLiveLocationUpdateEvent.ts b/src/chat/events/registerLiveLocationUpdateEvent.ts index 5b8c4eb116..124c626020 100644 --- a/src/chat/events/registerLiveLocationUpdateEvent.ts +++ b/src/chat/events/registerLiveLocationUpdateEvent.ts @@ -106,7 +106,7 @@ function registerLiveLocationUpdateEvent() { /** * Start for all active chats */ - ChatStore.once('collection_has_synced', () => { + internalEv.once('conn.main_ready', () => { const chats = ChatStore.getModelsArray().slice(0, config.liveLocationLimit); chats.forEach((chat) => { LiveLocationStore.update(chat.id)