diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index a6b4c272b4..f531b94788 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -937,12 +937,12 @@ module.exports = React.createClass({ } ContentMessages.sendStickerContentToRoom(url, this.state.room.roomId, info, text, MatrixClientPeg.get()) - .done(undefined, (error) => { - if (error.name === "UnknownDeviceError") { - // Let the staus bar handle this - return; - } - }); + .done(undefined, (error) => { + if (error.name === "UnknownDeviceError") { + // Let the staus bar handle this + return; + } + }); }, onSearch: function(term, scope) {