X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommandinterpreter.php;h=665015afccb9b9c2f9f654052dd4f380e33a7166;hb=69ac99ff949ab0118ff25a62471980ad0ec7a52b;hp=c39fafb62bdc87faad7072fdfdd420ce3cf28644;hpb=73b4d770a2551018ea17d115d980972dc5f0865a;p=quix0rs-gnu-social.git diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index c39fafb62b..665015afcc 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -59,6 +59,12 @@ class CommandInterpreter } else { return new SubscriptionsCommand($user); } + case 'groups': + if ($arg) { + return null; + } else { + return new GroupsCommand($user); + } case 'on': if ($arg) { list($other, $extra) = $this->split_arg($arg);