feat: Trim whitespace from message bodies and enhance emoji usage integration

This commit is contained in:
2026-05-13 05:17:23 +10:00
parent 38a43a3a99
commit aaf8089ba6
5 changed files with 50 additions and 4 deletions

View File

@@ -344,7 +344,7 @@ async function sendMessage(matrixClient: any, roomId: string, message: string) {
const content = {
msgtype: 'm.text',
body: message,
body: message.trim(),
};
const result = await matrixClient.sendMessage(roomId, content);