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 d4c904e..4697e3f 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);
                }