forked from GNUsocial/gnu-social
Added OnCommand and OffCommand to the list of cmds the Twitter API
supports thru statuses/update darcs-hash:20081005183850-462f3-1fcbf873c14f1048ba7c3ac23f6cd394066170c7.gz
This commit is contained in:
parent
2c2821799d
commit
738d50a631
@ -702,7 +702,7 @@ class TwitapistatusesAction extends TwitterapiAction {
|
||||
|
||||
function supported($cmd) {
|
||||
|
||||
$cmdlist = array('MessageCommand', 'SubCommand', 'UnsubCommand', 'FavCommand');
|
||||
$cmdlist = array('MessageCommand', 'SubCommand', 'UnsubCommand', 'FavCommand', 'OnCommand', 'OffCommand');
|
||||
|
||||
if (in_array(get_class($cmd), $cmdlist)) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user