Unblocked user is added to the contact list #20954 (#21046)

This commit is contained in:
flexsurfer 2024-08-29 21:18:45 +02:00 committed by GitHub
parent 8111758ef7
commit 8948904a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
(fn [{:keys [db]} [contact-id]] (fn [{:keys [db]} [contact-id]]
{:db (update-in db {:db (update-in db
[:contacts/contacts contact-id] [:contacts/contacts contact-id]
#(assoc % :blocked? false :added true :active? true))})) #(assoc % :blocked? false))}))
(rf/reg-event-fx :contact/unblock-contact (rf/reg-event-fx :contact/unblock-contact
(fn [_ [contact-id]] (fn [_ [contact-id]]