]> git.mxchange.org Git - friendica.git/commitdiff
Variable fix
authorMichael <heluecht@pirati.ca>
Mon, 24 Sep 2018 05:35:47 +0000 (05:35 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 24 Sep 2018 05:35:47 +0000 (05:35 +0000)
src/Protocol/ActivityPub.php

index d4c904eb1835fe43c12ff2008e844449a6b769b2..4697e3f8fc0cd219256c6eea5ac019c3d2da8a39 100644 (file)
@@ -68,6 +68,8 @@ use Friendica\Core\Config;
  * General:
  * - Queueing unsucessful deliveries
  * - Polling the outboxes for missing content?
+ * - Checking signature fails
+ * - Possibly using the LD-JSON parser
  */
 class ActivityPub
 {
@@ -1093,7 +1095,7 @@ class ActivityPub
                        return;
                }
 
-               if (!trust_source) {
+               if (!$trust_source) {
                        logger('No trust for activity type "' . $activity['type'] . '", so we quit now.', LOGGER_DEBUG);
                }