833848188c
The disconnect notifications were operating on `WalletConnectService.currentSessionProposal`. This object stores the current session object on connect, but it's not necessarily the same session the user wants to disconnect.
To fix this I'm getting the active sessions from status-go when the disconnect request is received (from Status or dapp). If the topic matches to any connection topic owned by the users accounts we'll show a notification.
(cherry picked from commit
|
||
---|---|---|
.. | ||
sdk | ||
types | ||
ConnectorDAppsListProvider.qml | ||
DAppsListProvider.qml | ||
DAppsRequestHandler.qml | ||
DappsConnectorSDK.qml | ||
WalletConnectSDK.qml | ||
WalletConnectSDKBase.qml | ||
WalletConnectService.qml | ||
helpers.js | ||
qmldir |