From 35854a0ad1b05704f9b573aab0a142daa2ebc7ec Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 15 Sep 2018 10:13:41 +0000 Subject: [PATCH] Adding "(AP)" to the server name when posted via AP --- src/Content/ContactSelector.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index dc158cfa5f..6a701f25f3 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -107,6 +107,10 @@ class ContactSelector if (DBA::isResult($r)) { $networkname = $r['platform']; + + if ($s == Protocol::ACTIVITYPUB) { + $networkname .= ' (AP)'; + } } } -- 2.39.5