mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 06:28:59 +00:00
Define emoji context for ActivityPub (#5004)
* Define emoji context for ActivityPub * Fix the emojo * Use general Mastodon context instead
This commit is contained in:
parent
09a94b575e
commit
dce869dfc7
|
@ -14,6 +14,8 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base
|
||||||
'atomUri' => 'ostatus:atomUri',
|
'atomUri' => 'ostatus:atomUri',
|
||||||
'inReplyToAtomUri' => 'ostatus:inReplyToAtomUri',
|
'inReplyToAtomUri' => 'ostatus:inReplyToAtomUri',
|
||||||
'conversation' => 'ostatus:conversation',
|
'conversation' => 'ostatus:conversation',
|
||||||
|
'toot' => 'http://joinmastodon.org/ns#',
|
||||||
|
'Emoji' => 'toot:Emoji',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
Loading…
Reference in a new issue