fix(typo): add $ to econtent
This commit is contained in:
parent
041bff317d
commit
519993ddd6
|
@ -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')]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue