mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-19 12:09:15 +00:00
fix: dont cause redirect loop due to session restore (#1181)
* fix: dont cause redirect loop due to session restore * back to `state` in docs * use referer to determine first injection * bring bzck disconnect on nav * revert some changes
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -166,7 +166,7 @@ declare namespace WAWebJS {
|
||||
/** Emitted when the client has been disconnected */
|
||||
on(event: 'disconnected', listener: (
|
||||
/** reason that caused the disconnect */
|
||||
reason: WAState | "NAVIGATED"
|
||||
reason: WAState | "NAVIGATION"
|
||||
) => void): this
|
||||
|
||||
/** Emitted when a user joins the chat via invite link or is added by an admin */
|
||||
|
||||
Reference in New Issue
Block a user