Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 23a74bf

Browse files
committed
Fix wrong error
See #7377 (comment)
1 parent e35ea1b commit 23a74bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SlashCommands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export const Commands = [
449449
const room = cli.getRoom(roomId);
450450
if (!room) {
451451
return reject(
452-
newTranslatableError("Failed to set topic: Unable to find room (%(roomId)s", { roomId }),
452+
newTranslatableError("Failed to get room topic: Unable to find room (%(roomId)s", { roomId }),
453453
);
454454
}
455455

0 commit comments

Comments
 (0)