$this->showForm(_m('Remote group join failed!'));
return;
}
+
+ $this->success();
}
/**
}
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();
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']);
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"