Prefix message previews for emotes with a *
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
eb0e9ecab4
commit
193a0d89af
2 changed files with 2 additions and 42 deletions
|
@ -59,7 +59,7 @@ export class MessageEventPreview implements IPreview {
|
|||
}
|
||||
|
||||
if (msgtype === 'm.emote') {
|
||||
return _t("%(senderName)s %(emote)s", {senderName: getSenderName(event), emote: body});
|
||||
return _t("* %(senderName)s %(emote)s", {senderName: getSenderName(event), emote: body});
|
||||
}
|
||||
|
||||
if (isSelf(event) || !shouldPrefixMessagesIn(event.getRoomId(), tagId)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue