aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-20 08:06:29 +0000
committerMario <mario@mariovavti.com>2021-10-20 08:06:29 +0000
commitc79e39a4880b00699c976ef9685ee5b795099fe4 (patch)
tree475f2de8d2ce2cb83be71717867c7c22f548d1c3 /Zotlabs
parent79f9b49dd77b14e2fe4f7de504a2128356252a2c (diff)
downloadvolse-hubzilla-c79e39a4880b00699c976ef9685ee5b795099fe4.tar.gz
volse-hubzilla-c79e39a4880b00699c976ef9685ee5b795099fe4.tar.bz2
volse-hubzilla-c79e39a4880b00699c976ef9685ee5b795099fe4.zip
improve code comments
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Activity.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 73a5a42be..664886fc2 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1116,7 +1116,7 @@ class Activity {
'width' => 300,
];
-/* This could be used to distinguish contacts by protocol instead of tags,
+/* This could be used to distinguish actors by protocol instead of tags,
* array urls are not supported by some AP projects (pixelfed) though.
*
$ret['url'] = [
@@ -1801,8 +1801,7 @@ class Activity {
}
// We store all ActivityPub actors we can resolve. Some of them may be able to communicate over Zot6. Find them.
- // Only probe if it looks like it looks something like a zot6 URL as there isn't anything in the actor record which we can reliably use for this purpose
- // and adding zot discovery urls to the actor record will cause federation to fail with the 20-30 projects which don't accept arrays in the url field.
+ // Adding zot discovery urls to the actor record will cause federation to fail with the 20-30 projects which don't accept arrays in the url field.
$actor_protocols = self::get_actor_protocols($person_obj);
if (in_array('zot6', $actor_protocols)) {