You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
fix tests
This commit is contained in:
@@ -1144,7 +1144,7 @@ function calculateRoomName(room, userId, ignoreRoomNameEvent) {
|
||||
if (memberList[0].userId === userId) {
|
||||
var thirdPartyInvites =
|
||||
room.currentState.getStateEvents("m.room.third_party_invite");
|
||||
if (thirdPartyInvites) {
|
||||
if (thirdPartyInvites && thirdPartyInvites.length > 0) {
|
||||
var name = "Inviting " +
|
||||
thirdPartyInvites[0].getContent().display_name;
|
||||
if (thirdPartyInvites.length > 1) {
|
||||
|
||||
Reference in New Issue
Block a user