mirror of
https://github.com/status-im/status-go.git
synced 2025-02-21 11:18:28 +00:00
fix_: send signal about new notification and activity center state
This commit is contained in:
parent
8f5b098a24
commit
831414d64f
@ -49,7 +49,12 @@ func (m *Messenger) NewWalletConnectV2SessionCreatedNotification(session walletc
|
|||||||
notification.DAppIconURL = session.Peer.Metadata.Icons[0]
|
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
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user