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)

This commit is contained in:
Brion Vibber 2011-01-06 13:46:39 -08:00
parent 281076d5f6
commit edf8101b29
1 changed files with 1 additions and 1 deletions

View 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;