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

C2S: Enable offerTicketC for person inbox post handler

This commit is contained in:
fr33domlover 2022-09-21 14:22:36 +00:00
parent de2e29d505
commit 23b5343ec2

View file

@ -301,13 +301,17 @@ postPersonOutboxR personHash = do
applyC eperson sharer summary audience mcap apply
FollowActivity follow ->
followC shr summary audience follow
OfferActivity (Offer obj target) ->
-}
AP.OfferActivity (AP.Offer obj target) ->
case obj of
OfferTicket ticket ->
offerTicketC eperson sharer summary audience ticket target
AP.OfferTicket ticket ->
offerTicketC eperson actorDB summary audience ticket target
{-
OfferDep dep ->
offerDepC eperson sharer summary audience dep target
-}
_ -> throwE "Unsupported Offer 'object' type"
{-
ResolveActivity resolve ->
resolveC eperson sharer summary audience resolve
UndoActivity undo ->