From: zach Date: Sun, 5 Oct 2008 18:38:50 +0000 (-0400) Subject: Added OnCommand and OffCommand to the list of cmds the Twitter API X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=738d50a631a494ba849188fd5095c6bec8f66ff5;p=quix0rs-gnu-social.git Added OnCommand and OffCommand to the list of cmds the Twitter API supports thru statuses/update darcs-hash:20081005183850-462f3-1fcbf873c14f1048ba7c3ac23f6cd394066170c7.gz --- diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 9865111d74..53c5f13264 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -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;