From f672901a497dbae935beeb32c57a8588e1e67f14 Mon Sep 17 00:00:00 2001
From: josh <josh@elixxir.io>
Date: Fri, 28 May 2021 13:23:29 -0700
Subject: [PATCH] Add conversation deletion

---
 api/client.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/client.go b/api/client.go
index 5067b29f1..5512d33f6 100644
--- a/api/client.go
+++ b/api/client.go
@@ -550,7 +550,7 @@ func (c *Client) DeleteContact(partnerId *id.ID) error  {
 	if err := c.storage.Auth().Delete(partnerId); err != nil {
 		return err
 	}
-
+	c.storage.Conversations().Delete(partnerId)
     // todo: find a way to clean partition up?
 	//c.storage.Partition().Clean()
 	return nil
-- 
GitLab