0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 23:13:52 +01:00

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

This commit is contained in:
Kegan Dougal 2014-10-31 10:02:56 +00:00
parent 86d3180666
commit baf472f83f

View file

@ -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];