the hide_replies pref is returning 1 not true

This commit is contained in:
Hannes Mannerheim 2015-07-11 01:06:46 +02:00
parent 2a4d5f927c
commit 04c242450d

View File

@ -204,7 +204,7 @@ class QvitterPlugin extends Plugin {
$m->connect('search/notice', array('action' => 'qvitter')); $m->connect('search/notice', array('action' => 'qvitter'));
// if the user wants the twitter style home stream with hidden replies to non-friends // if the user wants the twitter style home stream with hidden replies to non-friends
if ($this->qvitter_hide_replies === true) { if ($this->qvitter_hide_replies == 1) {
URLMapperOverwrite::overwrite_variable($m, 'api/statuses/friends_timeline.:format', URLMapperOverwrite::overwrite_variable($m, 'api/statuses/friends_timeline.:format',
array('action' => 'ApiTimelineFriends'), array('action' => 'ApiTimelineFriends'),
array('format' => '(xml|json|rss|atom|as)'), array('format' => '(xml|json|rss|atom|as)'),