]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added OnCommand and OffCommand to the list of cmds the Twitter API
authorzach <zach@controlyourself.ca>
Sun, 5 Oct 2008 18:38:50 +0000 (14:38 -0400)
committerzach <zach@controlyourself.ca>
Sun, 5 Oct 2008 18:38:50 +0000 (14:38 -0400)
supports thru statuses/update

darcs-hash:20081005183850-462f3-1fcbf873c14f1048ba7c3ac23f6cd394066170c7.gz

actions/twitapistatuses.php

index 9865111d741512f68f4a96c389a9527d5bca525f..53c5f13264e759e08437d35541a2bdf4dd92cd9d 100644 (file)
@@ -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;