Skip to content
Snippets Groups Projects
Commit baf472f8 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

SYWEB-63: Fix desktop notification message when notifying for an image.

parent 86d31806
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,9 @@ function(matrixService, $rootScope, $q, $timeout, mPresence) {
if (event.content.msgtype === "m.emote") {
message = "* " + displayname + " " + message;
}
else if (event.content.msgtype === "m.image") {
message = displayname + " sent an image.";
}
var roomTitle = matrixService.getRoomIdToAliasMapping(event.room_id);
var theRoom = $rootScope.events.rooms[event.room_id];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment