From edf8101b29010e9e8f9f27b628db10ef7a40400f Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 6 Jan 2011 13:46:39 -0800 Subject: [PATCH] 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) --- actions/apistatusesupdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5