some more guessing about issue #224
This commit is contained in:
parent
bf3178d799
commit
a255b9fba6
|
@ -202,13 +202,13 @@ class QvitterPlugin extends Plugin {
|
||||||
array('action' => 'qvitterlogin'));
|
array('action' => 'qvitterlogin'));
|
||||||
|
|
||||||
|
|
||||||
if ($this->hijack_ui) {
|
if ($this->hijack_ui === true) {
|
||||||
$m->connect('', array('action' => 'qvitter'));
|
$m->connect('', array('action' => 'qvitter'));
|
||||||
$m->connect('main/all', array('action' => 'qvitter'));
|
$m->connect('main/all', array('action' => 'qvitter'));
|
||||||
$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) {
|
if ($this->qvitter_hide_replies === true) {
|
||||||
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)'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user