Merge pull request #2276 from urbit/chat-double-invite

chat-hook: fix double invite bug
This commit is contained in:
Logan 2020-02-11 11:51:00 -08:00 committed by GitHub
commit 1406363623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,6 +285,9 @@
|= [kind=?(%add %remove) pax=path who=(set ship)] |= [kind=?(%add %remove) pax=path who=(set ship)]
^- (list card) ^- (list card)
?> ?=([* *] pax) ?> ?=([* *] pax)
=/ owner (~(get by synced) pax)
?~ owner ~
?. =(u.owner our.bol) ~
%- zing %- zing
%+ turn ~(tap in who) %+ turn ~(tap in who)
|= =ship |= =ship