fix: make blocking contact local only

fixes: status-im/status-desktop#7127
This commit is contained in:
Patryk Osmaczko 2022-10-27 14:21:33 +02:00 committed by r4bbit.eth
parent b5887c9c60
commit e48083e31d
1 changed files with 0 additions and 5 deletions

View File

@ -604,11 +604,6 @@ func (m *Messenger) blockContact(contactID string, isDesktopFunc bool) ([]*Chat,
contact.Block()
}
err := m.sendRetractContactRequest(contact)
if err != nil {
return nil, err
}
contact.LastUpdatedLocally = m.getTimesource().GetCurrentTime()
chats, err := m.persistence.BlockContact(contact, isDesktopFunc)