feat: Trim whitespace from message bodies and enhance emoji usage integration
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user