S2S: Group: Accept: Fix bug, collab approval wasn't working
This commit is contained in:
parent
1d13d7a551
commit
f187c66d69
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ groupAccept now groupID (Verse authorIdMsig body) accept = do
|
|||
case (collab, acceptDB) of
|
||||
(Left (fulfillsID, Left recipID), Left (_, _, acceptID)) -> do
|
||||
maybeAccept <- lift $ insertUnique $ CollabRecipLocalAccept recipID fulfillsID acceptID
|
||||
unless (isNothing maybeAccept) $
|
||||
unless (isJust maybeAccept) $
|
||||
throwE "This Invite already has an Accept by recip"
|
||||
(Left (fulfillsID, Right recipID), Right (_, _, acceptID)) -> do
|
||||
maybeAccept <- lift $ insertUnique $ CollabRecipRemoteAccept recipID fulfillsID acceptID
|
||||
|
|
Loading…
Reference in a new issue