Skip to content

Commit 9ba93d6

Browse files
authored
Fix loading_screen event (wwebjs#5808)
1 parent 2056ae8 commit 9ba93d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class Client extends EventEmitter {
287287
await this.pupPage.evaluate(() => {
288288
window.AuthStore.AppState.on('change:state', (_AppState, state) => { window.onAuthAppStateChangedEvent(state); });
289289
window.AuthStore.AppState.on('change:hasSynced', () => { window.onAppStateHasSyncedEvent(); });
290-
window.AuthStore.Cmd.on('offline_progress_update', () => {
290+
window.AuthStore.Cmd.on('offline_progress_update_from_bridge', () => {
291291
window.onOfflineProgressUpdateEvent(window.AuthStore.OfflineMessageHandler.getOfflineDeliveryProgress());
292292
});
293293
window.AuthStore.Cmd.on('logout', async () => {

0 commit comments

Comments
 (0)