From f99ae6d46a23908560b6448b3ac74eda6f4b76f9 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 31 Jan 2022 15:37:49 +0000 Subject: [PATCH] Tweak `/addwidget` widget names (#7681) --- src/SlashCommands.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SlashCommands.tsx b/src/SlashCommands.tsx index 8250e30251..054dc026b5 100644 --- a/src/SlashCommands.tsx +++ b/src/SlashCommands.tsx @@ -945,7 +945,7 @@ export const Commands = [ const nowMs = (new Date()).getTime(); const widgetId = encodeURIComponent(`${roomId}_${userId}_${nowMs}`); let type = WidgetType.CUSTOM; - let name = "Custom Widget"; + let name = "Custom"; let data = {}; // Make the widget a Jitsi widget if it looks like a Jitsi widget @@ -953,7 +953,7 @@ export const Commands = [ if (jitsiData) { logger.log("Making /addwidget widget a Jitsi conference"); type = WidgetType.JITSI; - name = "Jitsi Conference"; + name = "Jitsi"; data = jitsiData; widgetUrl = WidgetUtils.getLocalJitsiWrapperUrl(); }