From d1a95c664d3326f42ff5f439badb6592ad336fbd Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 16 Nov 2020 19:29:29 +0100 Subject: [PATCH 1/2] require space after /me --- src/domain/session/room/RoomViewModel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index c13dd1a3..10be15a7 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -147,8 +147,8 @@ export class RoomViewModel extends ViewModel { if (message) { try { let msgtype = "m.text"; - if (message.startsWith("/me")) { - message = message.substr(3).trim(); + if (message.startsWith("/me ")) { + message = message.substr(4).trim(); msgtype = "m.emote"; } await this._room.sendEvent("m.room.message", {msgtype, body: message}); From ca7c07a23cfa8f1ce3dc978802d49a47bdaa6b82 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 16 Nov 2020 19:29:51 +0100 Subject: [PATCH 2/2] fix #200 --- src/platform/web/ui/css/layout.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/platform/web/ui/css/layout.css b/src/platform/web/ui/css/layout.css index c4a48425..15d5b9c8 100644 --- a/src/platform/web/ui/css/layout.css +++ b/src/platform/web/ui/css/layout.css @@ -163,3 +163,13 @@ main { z-index: 1; pointer-events: none; } + +.Settings { + display: flex; + flex-direction: column; +} + +.SettingsBody { + min-height: 0; + overflow-y: auto; +}