- const DFRN = 'dfrn'; // Friendica, Mistpark, other DFRN implementations
- const DIASPORA = 'dspr'; // Diaspora
- const DIASPORA2 = 'dspc'; // Diaspora connector
- const STATUSNET = 'stac'; // Statusnet connector
- const OSTATUS = 'stat'; // GNU-social, Pleroma, Mastodon, other OStatus implementations
- const FEED = 'feed'; // RSS/Atom feeds with no known "post/notify" protocol
- const MAIL = 'mail'; // IMAP/POP
- const XMPP = 'xmpp'; // XMPP - Currently unsupported
+ // Native support
+ const ACTIVITYPUB = 'apub'; // ActivityPub (Pleroma, Mastodon, Osada, ...)
+ const DFRN = 'dfrn'; // Friendica, Mistpark, other DFRN implementations
+ const DIASPORA = 'dspr'; // Diaspora, Hubzilla, Socialhome, Ganggo
+ const FEED = 'feed'; // RSS/Atom feeds with no known "post/notify" protocol
+ const MAIL = 'mail'; // IMAP/POP
+ const OSTATUS = 'stat'; // GNU Social and other OStatus implementations
+
+ const NATIVE_SUPPORT = [self::DFRN, self::DIASPORA, self::OSTATUS, self::FEED, self::MAIL, self::ACTIVITYPUB];