S2S: Project: Accept: Add-child-passive: Fix bug, no need to record the Accept in the Source
This commit is contained in:
parent
bb1685f695
commit
c2da1da9f4
1 changed files with 4 additions and 2 deletions
|
@ -881,12 +881,14 @@ projectAccept now projectID (Verse authorIdMsig body) accept = do
|
||||||
-- Record my collaborator's Accept
|
-- Record my collaborator's Accept
|
||||||
-- Prepare to send delegator-Grant
|
-- Prepare to send delegator-Grant
|
||||||
Right () -> Just <$> do
|
Right () -> Just <$> do
|
||||||
|
{-
|
||||||
case (topic, acceptDB) of
|
case (topic, acceptDB) of
|
||||||
(Left (localID, _), Left (_, _, acceptID)) ->
|
(Left (localID, _), Left (_, _, acceptID)) ->
|
||||||
insert_ $ SourceThemAcceptLocal localID acceptID
|
insert_ $ ? localID acceptID
|
||||||
(Right (remoteID, _), Right (_, _, acceptID)) ->
|
(Right (remoteID, _), Right (_, _, acceptID)) ->
|
||||||
insert_ $ SourceThemAcceptRemote remoteID acceptID
|
insert_ $ ? remoteID acceptID
|
||||||
_ -> error "projectAccept impossible iv"
|
_ -> error "projectAccept impossible iv"
|
||||||
|
-}
|
||||||
grantID <- insertEmptyOutboxItem' (actorOutbox recipActor) now
|
grantID <- insertEmptyOutboxItem' (actorOutbox recipActor) now
|
||||||
insert_ $ SourceUsSendDelegator sourceID grantID
|
insert_ $ SourceUsSendDelegator sourceID grantID
|
||||||
return (topic, grantID)
|
return (topic, grantID)
|
||||||
|
|
Loading…
Reference in a new issue