Browse Source

Define emoji context for ActivityPub (#5004)

* Define emoji context for ActivityPub

* Fix the emojo

* Use general Mastodon context instead
pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
dce869dfc7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/lib/activitypub/adapter.rb

+ 2
- 0
app/lib/activitypub/adapter.rb View File

@ -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

Loading…
Cancel
Save