From: Michael <heluecht@pirati.ca>
Date: Sat, 15 Sep 2018 10:13:41 +0000 (+0000)
Subject: Adding "(AP)" to the server name when posted via AP
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35854a0ad1b05704f9b573aab0a142daa2ebc7ec;p=friendica.git

Adding "(AP)" to the server name when posted via AP
---

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)';
+				}
 			}
 		}