X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommandinterpreter.php;h=1e8114701d1d3120e73f1dcfbc751048e961051b;hb=31c1177970124cee31823cab3a11542c23b4126d;hp=6b1b70055e06c5c9ed29b87acd075009fb450deb;hpb=0a71622aa731c62c89ba84ef86d21fd168521ee1;p=quix0rs-gnu-social.git diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index 6b1b70055e..1e8114701d 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -274,6 +274,32 @@ class CommandInterpreter } } break; + case 'list': + case 'tag': + if (!$arg) { + $result = null; + break; + } + list($other, $tags) = $this->split_arg($arg); + if (!$tags) { + $result = null; + } else { + $result = new TagCommand($user, $other, $tags); + } + break; + case 'unlist': + case 'untag': + if (!$arg) { + $result = null; + break; + } + list($other, $tags) = $this->split_arg($arg); + if (!$tags) { + $result = null; + } else { + $result = new UntagCommand($user, $other, $tags); + } + break; case 'track': if (!$arg) { $result = null;