Merge branch '1.1.x'

This commit is contained in:
Evan Prodromou 2012-07-28 13:59:03 -04:00
commit d155936d98
4 changed files with 7 additions and 11 deletions

View File

@ -150,6 +150,8 @@ class OStatusGroupAction extends OStatusSubAction
$this->showForm(_m('Remote group join failed!'));
return;
}
$this->success();
}
/**

View File

@ -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();

View File

@ -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']);

View File

@ -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"