contact-store: prevent hook forwarding loop

This commit is contained in:
Liam Fitzgerald 2021-02-05 14:54:26 +10:00
parent 45cadff09f
commit ffbd4a4d88
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -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)