1
0
Fork 0
mirror of https://code.naskya.net/repos/ndqEd synced 2025-01-10 11:06:46 +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 applyC eperson sharer summary audience mcap apply
FollowActivity follow -> FollowActivity follow ->
followC shr summary audience follow followC shr summary audience follow
OfferActivity (Offer obj target) -> -}
AP.OfferActivity (AP.Offer obj target) ->
case obj of case obj of
OfferTicket ticket -> AP.OfferTicket ticket ->
offerTicketC eperson sharer summary audience ticket target offerTicketC eperson actorDB summary audience ticket target
{-
OfferDep dep -> OfferDep dep ->
offerDepC eperson sharer summary audience dep target offerDepC eperson sharer summary audience dep target
-}
_ -> throwE "Unsupported Offer 'object' type" _ -> throwE "Unsupported Offer 'object' type"
{-
ResolveActivity resolve -> ResolveActivity resolve ->
resolveC eperson sharer summary audience resolve resolveC eperson sharer summary audience resolve
UndoActivity undo -> UndoActivity undo ->