fix_: send signal about new notification and activity center state

This commit is contained in:
Mohsen 2024-09-03 19:21:15 +03:00
parent 8f5b098a24
commit 831414d64f
No known key found for this signature in database
GPG Key ID: 20BACCB8426033CE

View File

@ -49,7 +49,12 @@ func (m *Messenger) NewWalletConnectV2SessionCreatedNotification(session walletc
notification.DAppIconURL = session.Peer.Metadata.Icons[0]
}
_, err := m.persistence.SaveActivityCenterNotification(notification, true)
response := &MessengerResponse{}
err := m.addActivityCenterNotification(response, notification, nil)
if m.config.messengerSignalsHandler != nil {
m.config.messengerSignalsHandler.MessengerResponse(response)
}
return err
}