]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '1.1.x'
authorEvan Prodromou <evan@status.net>
Tue, 3 Jul 2012 19:42:51 +0000 (15:42 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 3 Jul 2012 19:42:51 +0000 (15:42 -0400)
plugins/FacebookBridge/locale/it/LC_MESSAGES/FacebookBridge.po
plugins/Realtime/RealtimePlugin.php

index 0fa5b09a8627afb69b06eaca876d0b720c421645..dee6c3c77121be677932a5e1dc7ad98c15c57c29 100644 (file)
@@ -344,7 +344,6 @@ msgstr ""
 "Cordiali saluti,\n"
 "\n"
 "%2$s\n"
-" "
 
 #. TRANS: E-mail subject. %s is the StatusNet sitename.
 #, php-format
index 287e48e48475e4cb267a3ed2ec97c8754ce30ecf..5eb23fb62787e3477f6d13fa19eb2005efc104c5 100644 (file)
@@ -253,6 +253,7 @@ class RealtimePlugin extends Plugin
                 list($action, $arg1, $arg2) = $path;
 
                 $channels = Realtime_channel::getAllChannels($action, $arg1, $arg2);
+                $this->log(LOG_INFO, sprintf(_("%d candidate channels for notice %d"), $notice->id));
 
                 foreach ($channels as $channel) {
 
@@ -265,6 +266,13 @@ class RealtimePlugin extends Plugin
                         $profile = Profile::staticGet('id', $channel->user_id);
                     }
                     if ($notice->inScope($profile)) {
+                        $this->log(LOG_INFO, 
+                                   sprintf(_("Delivering notice %d to channel (%s, %s, %s) for user '%s'"),
+                                           $notice->id,
+                                           $channel->action,
+                                           $channel->arg1,
+                                           $channel->arg2,
+                                           ($profile) ? ($profile->nickname) : "<public>"));
                         $timeline = $this->_pathToChannel(array($channel->channel_key));
                         $this->_publish($timeline, $json);
                     }