mirror of
https://github.com/status-im/status-go.git
synced 2025-01-13 08:05:40 +00:00
fix: typo in message handler which I found quite annoying
This commit is contained in:
parent
68d2d6bdfb
commit
4d93ea83be
@ -425,9 +425,9 @@ func (m *Messenger) HandleBackup(state *ReceivedMessageState, message protobuf.B
|
||||
}
|
||||
|
||||
func (m *Messenger) HandleSyncInstallationContact(state *ReceivedMessageState, message protobuf.SyncInstallationContactV2) error {
|
||||
removedOrBlcoked := message.Removed || message.Blocked
|
||||
removedOrBlocked := message.Removed || message.Blocked
|
||||
chat, ok := state.AllChats.Load(message.Id)
|
||||
if !ok && (message.Added || message.Muted) && !removedOrBlcoked {
|
||||
if !ok && (message.Added || message.Muted) && !removedOrBlocked {
|
||||
pubKey, err := common.HexToPubkey(message.Id)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user