fix(typo): add $ to econtent

This commit is contained in:
DumbergerL 2022-06-14 15:14:25 +02:00 committed by Benedikt Ziemons
parent 041bff317d
commit 519993ddd6
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -868,7 +868,7 @@ class Room {
if ($econtent['membership'] == 'join') {
$userId = $stateEvent['state_key'];
$this->addMember($userId, array_get($econtent, 'displayname'));
} elseif (in_array(econtent["membership"], ["leave", "kick", "invite"])) {
} elseif (in_array($econtent["membership"], ["leave", "kick", "invite"])) {
unset($this->_members[array_get($stateEvent, 'state_key')]);
}
}