[#16198] No delay on removing contact from the list

This commit is contained in:
Roman Volosovskyi 2023-06-07 11:06:34 +02:00
parent ca35de2f72
commit 43ffe74a9c
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@
[{:keys [db]} {:keys [public-key]}]
{:db (-> db
(assoc-in [:contacts/contacts public-key :added?] false)
(assoc-in [:contacts/contacts public-key :active?] false)
(assoc-in [:contacts/contacts public-key :contact-request-state]
constants/contact-request-state-none))
:json-rpc/call [{:method "wakuext_retractContactRequest"