1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

added event handling back

This commit is contained in:
Steffen Kolmer
2020-10-19 23:10:43 +02:00
parent 6d98335368
commit 48633f76ab
2 changed files with 26 additions and 1 deletions

View File

@@ -1047,7 +1047,7 @@ export const Commands = [
runFn: function(roomId, args) {
return success((async () => {
if (!args) {
args = _t("sends confetti");
args = "sends confetti";
MatrixClientPeg.get().sendEmoteMessage(roomId, args);
} else {
MatrixClientPeg.get().sendTextMessage(roomId, args);