From: Brion Vibber Date: Thu, 6 Jan 2011 21:46:39 +0000 (-0800) Subject: allow group join/leave commands in api posting, at least for the moment (no other... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=edf8101b29010e9e8f9f27b628db10ef7a40400f;p=quix0rs-gnu-social.git allow group join/leave commands in api posting, at least for the moment (no other way to do remote subscribe without a preexisting local id number via api) --- diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index a8ec7f8bb9..5773bdc2e8 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -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;