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:
zach 2008-10-05 14:38:50 -04:00
parent 2c2821799d
commit 738d50a631

View File

@ -702,7 +702,7 @@ class TwitapistatusesAction extends TwitterapiAction {
function supported($cmd) { function supported($cmd) {
$cmdlist = array('MessageCommand', 'SubCommand', 'UnsubCommand', 'FavCommand'); $cmdlist = array('MessageCommand', 'SubCommand', 'UnsubCommand', 'FavCommand', 'OnCommand', 'OffCommand');
if (in_array(get_class($cmd), $cmdlist)) { if (in_array(get_class($cmd), $cmdlist)) {
return true; return true;