]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
allow group join/leave commands in api posting, at least for the moment (no other...
authorBrion Vibber <brion@pobox.com>
Thu, 6 Jan 2011 21:46:39 +0000 (13:46 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 6 Jan 2011 21:46:39 +0000 (13:46 -0800)
actions/apistatusesupdate.php

index a8ec7f8bb9d647cec9ad4170c366a46d276c537a..5773bdc2e8106ffc4fd8e7787bede0a4616b2dbc 100644 (file)
@@ -377,7 +377,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction
     function supported($cmd)
     {
         static $cmdlist = array('MessageCommand', 'SubCommand', 'UnsubCommand',
-            'FavCommand', 'OnCommand', 'OffCommand');
+            'FavCommand', 'OnCommand', 'OffCommand', 'JoinCommand', 'LeaveCommand');
 
         if (in_array(get_class($cmd), $cmdlist)) {
             return true;