diff --git a/spec/unit/room.spec.js b/spec/unit/room.spec.js index 291e49a37..2cc3bfe47 100644 --- a/spec/unit/room.spec.js +++ b/spec/unit/room.spec.js @@ -1355,7 +1355,8 @@ describe("Room", function() { }); describe("getMyMembership", function() { - it("should return synced membership if membership isn't available yet", async function() { + it("should return synced membership if membership isn't available yet", + async function() { const room = new Room(roomId, userA); room.setSyncedMembership("invite"); expect(room.getMyMembership()).toEqual("invite"); diff --git a/src/models/room.js b/src/models/room.js index cfa1a8ea7..ffcce4e60 100644 --- a/src/models/room.js +++ b/src/models/room.js @@ -260,7 +260,7 @@ Room.prototype.getDMInviter = function() { return this._summaryHeroes[0]; } } -} +}; /** * Sets the membership this room was received as during sync