commit: dce869dfc7d4e6338da2f0d72b0a9fb2bf6d5351
parent: 09a94b575e90dc7f6e179a1ec717156e725f915a
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Tue, 19 Sep 2017 05:05:48 +0200
Define emoji context for ActivityPub (#5004)
* Define emoji context for ActivityPub
* Fix the emojo
* Use general Mastodon context instead
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/app/lib/activitypub/adapter.rb b/app/lib/activitypub/adapter.rb
@@ -14,6 +14,8 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base
'atomUri' => 'ostatus:atomUri',
'inReplyToAtomUri' => 'ostatus:inReplyToAtomUri',
'conversation' => 'ostatus:conversation',
+ 'toot' => 'http://joinmastodon.org/ns#',
+ 'Emoji' => 'toot:Emoji',
},
],
}.freeze