mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-29 00:54:52 +09:00
228e954706
I wrote a function handleOutboxNote that's supposed to do the whole outbox POST handler process. There's an outbox item table in the DB now, I adapted things in various source files. Ticket comment federation work is still in progress.
36 lines
814 B
Text
36 lines
814 B
Text
RemoteRawObject
|
|
content PersistJSONValue
|
|
received UTCTime
|
|
|
|
OutboxItem
|
|
person PersonId
|
|
activity PersistJSONValue
|
|
published UTCTime
|
|
|
|
RemoteDiscussion
|
|
actor RemoteSharerId Maybe
|
|
instance InstanceId
|
|
ident Text
|
|
discuss DiscussionId
|
|
unlinkedActor Text Maybe
|
|
|
|
UniqueRemoteDiscussionIdent instance ident
|
|
UniqueRemoteDiscussion discuss
|
|
|
|
LocalMessage
|
|
author PersonId
|
|
rest MessageId
|
|
unlinkedParent Text Maybe
|
|
|
|
UniqueLocalMessage rest
|
|
|
|
RemoteMessage
|
|
author RemoteSharerId
|
|
instance InstanceId
|
|
ident Text
|
|
rest MessageId
|
|
raw RemoteRawObjectId
|
|
lostParent Text Maybe
|
|
|
|
UniqueRemoteMessageIdent instance ident
|
|
UniqueRemoteMessage rest
|