This commit is contained in:
Bruno Windels
2018-08-02 12:14:56 +02:00
parent 2862b49057
commit f261599435
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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");
+1 -1
View File
@@ -260,7 +260,7 @@ Room.prototype.getDMInviter = function() {
return this._summaryHeroes[0];
}
}
}
};
/**
* Sets the membership this room was received as during sync