1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Send m.sticker messages

This commit is contained in:
Richard Lewis
2018-01-04 21:57:24 +00:00
parent d20aebfbd7
commit 54671ab67e
2 changed files with 3 additions and 3 deletions

View File

@@ -275,8 +275,8 @@ class ContentMessages {
this.nextId = 0;
}
sendURLContentToRoom(url, roomId, info, text, matrixClient) {
return MatrixClientPeg.get().sendImageMessage(roomId, url, info, text).catch((e) => {
sendStickerContentToRoom(url, roomId, info, text, matrixClient) {
return MatrixClientPeg.get().sendStickerMessage(roomId, url, info, text).catch((e) => {
console.warn(`Failed to send content with URL ${url} to room ${roomId}`, e);
});
}