Organise activity receive files by object type, not by activity type #115

Merged
dessalines merged 1 commits from inbox-refactoring-2 into main 2020-10-22 18:55:31 +00:00
Owner

I think it makes much more sense this way, because sending and receiving are organised in the same way now. And by moving the routing into the inbox, it should be a bit easier and more logical to handle all activities in user/community inboxes as well.

Only disadvantage is that the files are longer now (which is also why I left post_undo and comment_undo as separate files).

There are no logic changes, only functions moved around. Federation tests are passing.

I think it makes much more sense this way, because sending and receiving are organised in the same way now. And by moving the routing into the inbox, it should be a bit easier and more logical to handle all activities in user/community inboxes as well. Only disadvantage is that the files are longer now (which is also why I left `post_undo` and `comment_undo` as separate files). There are no logic changes, only functions moved around. Federation tests are passing.
dessalines merged commit 73ccbb1bc8 into main 2020-10-22 18:55:30 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#115
No description provided.