OStatus queue handler uses Notice->getAttentionProfiles()

and lots more debugging for LOG_DEBUG
This commit is contained in:
Mikael Nordfeldth
2016-01-08 01:31:47 +01:00
parent e6f2676c5c
commit 4e0ed61f7c
2 changed files with 52 additions and 30 deletions

View File

@@ -376,6 +376,7 @@ class Ostatus_profile extends Managed_DataObject
public function notifyDeferred($entry, $actor)
{
if ($this->salmonuri) {
common_debug("OSTATUS: user {$actor->getNickname()} ({$actor->getID()}) wants to ping {$this->localProfile()->getNickname()} on {$this->salmonuri}");
$data = array('salmonuri' => $this->salmonuri,
'entry' => $this->notifyPrepXml($entry),
'actor' => $actor->getID(),