We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f5ec7c27 authored by Evan Prodromou's avatar Evan Prodromou

some logging for OStatusPlugin::onStartFindMentions()

parent b09304a6
...@@ -235,9 +235,17 @@ class OStatusPlugin extends Plugin ...@@ -235,9 +235,17 @@ class OStatusPlugin extends Plugin
$webfinger = $wmatch[0]; $webfinger = $wmatch[0];
$this->log(LOG_INFO, "Checking Webfinger for address '$webfinger'");
$oprofile = Ostatus_profile::ensureWebfinger($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(); $profile = $oprofile->localProfile();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment