Skip to content

Commit

Permalink
chat: add invite when creating club
Browse files Browse the repository at this point in the history
  • Loading branch information
arthyn committed Jun 19, 2024
1 parent 4508ab2 commit df0d56c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions desk/app/chat.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,7 @@
=. cu-core (cu-init %done create)
=. cu-core (cu-diff 0v0 [%init team hive met]:crew.club)
=. cor (give-unread club/id cu-unread)
=. cor (pass-activity [%club id] [%invite ~] *story:d |)
=/ =delta:writs:c
%+ make-notice our.bowl
%+ rap 3
Expand Down Expand Up @@ -1366,6 +1367,7 @@
=. hive.crew.club (~(del in hive.crew.club) ship)
?. ok.delta
(cu-post-notice ship ' declined the invite')
=. cor (pass-activity [%club id] [%invite ~] *story:d |)
=. cor (give-unread club/id cu-unread)
=. team.crew.club (~(put in team.crew.club) ship)
=? last-read.remark.club =(ship our.bowl) now.bowl
Expand Down

0 comments on commit df0d56c

Please sign in to comment.