More event sender checking

pull/1/head
David Baker 2015-07-03 16:55:18 +01:00
parent 1c03eabadb
commit d4ef04dc41
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ var dis = require("../../../../src/dispatcher");
var NotifierView = {
notificationMessageForEvent: function(ev) {
var senderDisplayName = ev.sender.name;
var senderDisplayName = ev.sender ? ev.sender.name : '';
var message = null;
if (ev.event.type === "m.room.message") {