Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
This commit is contained in:
commit
f04452c70a
@ -115,13 +115,7 @@ class QnashowquestionAction extends ShownoticeAction
|
||||
}
|
||||
|
||||
if (count($answerIds) > 0) {
|
||||
$notice = new Notice();
|
||||
$notice->query(
|
||||
sprintf(
|
||||
'SELECT notice.* FROM notice WHERE notice.id IN (%s)',
|
||||
implode(',', $answerIds)
|
||||
)
|
||||
);
|
||||
$notice = Notice::multiGet('id', $answerIds);
|
||||
|
||||
$nli = new NoticeList($notice, $this);
|
||||
$nli->show();
|
||||
|
@ -380,12 +380,12 @@ class XmppPlugin extends ImPlugin
|
||||
|
||||
if ($pl['type'] != 'chat') {
|
||||
$this->log(LOG_WARNING, "Ignoring message of type ".$pl['type']." from $from: " . $pl['xml']->toString());
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (mb_strlen($pl['body']) == 0) {
|
||||
$this->log(LOG_WARNING, "Ignoring message with empty body from $from: " . $pl['xml']->toString());
|
||||
return;
|
||||
return true;
|
||||
}
|
||||
|
||||
$this->handleIncoming($from, $pl['body']);
|
||||
|
@ -23,8 +23,8 @@
|
||||
SDIR=`dirname $0`
|
||||
DIR=`php $SDIR/getpiddir.php`
|
||||
|
||||
for f in ombhandler smshandler pinghandler \
|
||||
twitterhandler facebookhandler \
|
||||
for f in ombhandler smshandler pinghandler queuedaemon \
|
||||
twitterhandler facebookhandler imdaemon \
|
||||
twitterstatusfetcher synctwitterfriends pluginhandler rsscloudhandler; do
|
||||
|
||||
FILES="$DIR/$f.*.pid"
|
||||
|
Loading…
Reference in New Issue
Block a user