From ffbd4a4d88cea70c79d1a99bb9c0382f22157d90 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Fri, 5 Feb 2021 14:54:26 +1000 Subject: [PATCH] contact-store: prevent hook forwarding loop --- pkg/arvo/app/contact-store.hoon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/arvo/app/contact-store.hoon b/pkg/arvo/app/contact-store.hoon index 3a125137a..f34fe1995 100644 --- a/pkg/arvo/app/contact-store.hoon +++ b/pkg/arvo/app/contact-store.hoon @@ -137,6 +137,9 @@ ++ edit-contact |= [=contact:store edit=edit-field:store] ^- contact:store + :: ensure difference + =; new=contact:store + ?<(=(contact new) new) ?- -.edit %nickname contact(nickname nickname.edit) %bio contact(bio bio.edit)