mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Sending direct messages via AP does work now - receiving is pending
This commit is contained in:
parent
4161f5ebe0
commit
87b98b8249
5 changed files with 113 additions and 4 deletions
|
@ -44,8 +44,10 @@ class ActivityPub
|
|||
['vcard' => 'http://www.w3.org/2006/vcard/ns#',
|
||||
'dfrn' => 'http://purl.org/macgirvin/dfrn/1.0/',
|
||||
'diaspora' => 'https://diasporafoundation.org/ns/',
|
||||
'litepub' => 'http://litepub.social/ns#',
|
||||
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
|
||||
'sensitive' => 'as:sensitive', 'Hashtag' => 'as:Hashtag']];
|
||||
'sensitive' => 'as:sensitive', 'Hashtag' => 'as:Hashtag',
|
||||
'directMessage' => 'litepub:directMessage']];
|
||||
const ACCOUNT_TYPES = ['Person', 'Organization', 'Service', 'Group', 'Application'];
|
||||
/**
|
||||
* Checks if the web request is done for the AP protocol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue