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:
parent
10645bf02b
commit
158ad789ec
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue