aboutsummaryrefslogtreecommitdiff
path: root/lib/jason_types.ex
diff options
context:
space:
mode:
authorsxsdv1 <sxsdv1@gmail.com>2019-01-09 09:22:00 +0100
committersxsdv1 <sxsdv1@gmail.com>2019-01-12 20:24:41 +0100
commit868034375c5122175f872967e49559dafed9403c (patch)
tree373da9d1a6089ede161e76601ec96df4e76811a0 /lib/jason_types.ex
parent581edd5a91189e6fb2a94a277b96f9c8197617b8 (diff)
downloadpleroma-868034375c5122175f872967e49559dafed9403c.tar.gz
Add likes to activitypub object representation
Top level of the likes OrderedCollection is inlined to get immediate access to totalItems. Because the count can be returned without scanning the database for like activities the extra query is saved when the client only wants to display the total.
Diffstat (limited to 'lib/jason_types.ex')
0 files changed, 0 insertions, 0 deletions