diff --git a/src/SlashCommands.js b/src/SlashCommands.js index fbacaef7c2..1c64e15cc8 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -620,7 +620,7 @@ export const CommandMap = { const nowMs = (new Date()).getTime(); const widgetId = encodeURIComponent(`${roomId}_${userId}_${nowMs}`); return success(WidgetUtils.setRoomWidget( - roomId, widgetId, "customwidget", args, "Custom Widget", {})); + roomId, widgetId, "m.custom", args, "Custom Widget", {})); } else { return reject(_t("You cannot modify widgets in this room.")); }