Merge branch 'master' into bwindels/upload-images

This commit is contained in:
Bruno Windels 2020-11-16 19:31:04 +01:00
commit 91f7970d66
2 changed files with 12 additions and 2 deletions

View File

@ -149,7 +149,7 @@ export class RoomViewModel extends ViewModel {
try {
let msgtype = "m.text";
if (message.startsWith("/me ")) {
message = message.substr(3).trim();
message = message.substr(4).trim();
msgtype = "m.emote";
}
await this._room.sendEvent("m.room.message", {msgtype, body: message});

View File

@ -170,3 +170,13 @@ main {
position: absolute;
z-index: 2;
}
.Settings {
display: flex;
flex-direction: column;
}
.SettingsBody {
min-height: 0;
overflow-y: auto;
}