diff --git a/api/client.go b/api/client.go index 2d455d90cc2ea0d972dc82eee94f7e8a2773f18d..2c28d84d33b193a3236f2332a9c69a16f4e3e5d9 100644 --- a/api/client.go +++ b/api/client.go @@ -739,13 +739,14 @@ func (c *Client) DeleteContact(partnerId *id.ID) error { "from %s on contact deletion: %+v", partnerId, err) } - if err = c.storage.Auth().Delete(partnerId); err != nil { - return err - } - //delete conversations c.storage.Conversations().Delete(partnerId) + // call delete requests to make sure nothing is lingering. + // this is for saftey to ensure the contact can be readded + // in the future + _ = c.storage.Auth().Delete(partnerId) + return nil }