C2S: Add: Fix bug in addressing verification

This commit is contained in:
Pere Lev 2024-03-19 11:39:05 +02:00
parent b80d897e0c
commit acc42896f5
No known key found for this signature in database
GPG key ID: 5252C5C863E5E57D

View file

@ -238,7 +238,7 @@ clientAccept now personMeID (ClientMsg maybeCap localRecips remoteRecips fwdHost
-- * Verify that a capability is specified -- * Verify that a capability is specified
-- * If C is local, verify it exists in DB -- * If C is local, verify it exists in DB
-- * If P is local, verify it exists in DB -- * If P is local, verify it exists in DB
-- * Verify C and P are addressed in the Invite -- * Verify C and P are addressed in the Add
-- * Insert Add to my inbox -- * Insert Add to my inbox
-- * Asynchrnously deliver to: -- * Asynchrnously deliver to:
-- * C+followers -- * C+followers
@ -275,7 +275,7 @@ clientAdd now personMeID (ClientMsg maybeCap localRecips remoteRecips fwdHosts a
fetchRemoteResource instanceID h lu fetchRemoteResource instanceID h lu
case result of case result of
Left (Entity actorID actor) -> Left (Entity actorID actor) ->
return (remoteActorIdent actor, actorID, u) return (remoteActorIdent actor, actorID, ObjURI h lu)
Right (objectID, luManager, (Entity actorID _)) -> Right (objectID, luManager, (Entity actorID _)) ->
return (objectID, actorID, ObjURI h luManager) return (objectID, actorID, ObjURI h luManager)
) )