1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 18:44:51 +09:00

C2S: In automatic Grant upon Deck creation, insert CollabTopicAccept record

Since that table being added, a Collab without a CollabTopicAccept is
considered an open proposal/invitation waiting for completion. So inserting the
CollabTopicAccept is now required for making the Grant valid and active.
This commit is contained in:
fr33domlover 2022-08-21 18:15:44 +00:00
parent 10645bf02b
commit 158ad789ec

View file

@ -1199,6 +1199,7 @@ createTicketTrackerC (Entity pidUser personUser) senderActor summary audience tr
insertCollab did obiidGrant = do
cid <- insert Collab
insert_ $ CollabTopicLocalDeck cid did
insert_ $ CollabTopicAccept cid obiidGrant
insert_ $ CollabSenderLocal cid obiidGrant
insert_ $ CollabRecipLocal cid pidUser
insert_ $ CollabFulfillsLocalTopicCreation cid