summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OStatus/OStatusPlugin.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index 9376c048d..8c8d909a8 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -221,9 +221,17 @@ class OStatusPlugin extends Plugin
$webfinger = $wmatch[0];
+ $this->log(LOG_INFO, "Checking Webfinger for address '$webfinger'");
+
$oprofile = Ostatus_profile::ensureWebfinger($webfinger);
- if (!empty($oprofile)) {
+ if (empty($oprofile)) {
+
+ $this->log(LOG_INFO, "No Ostatus_profile found for address '$webfinger'");
+
+ } else {
+
+ $this->log(LOG_INFO, "Ostatus_profile found for address '$webfinger'");
$profile = $oprofile->localProfile();