1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00
This commit is contained in:
Matthew Hodgson
2015-09-18 01:56:53 +02:00
parent 2f75bb75dd
commit a16ded9f4d

View File

@@ -141,7 +141,7 @@ function PushProcessor(client) {
var room = client.getRoom(ev.room_id); var room = client.getRoom(ev.room_id);
if (!room || !room.currentState || !room.currentState.members || if (!room || !room.currentState || !room.currentState.members ||
!room.currentState.getMember(client.credentials.userId) { return false; } !room.currentState.getMember(client.credentials.userId)) { return false; }
var displayName = room.currentState.getMember(client.credentials.userId).name; var displayName = room.currentState.getMember(client.credentials.userId).name;