mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 06:43:09 -06:00
use userID
This commit is contained in:
parent
563ebd054e
commit
7c88b1d851
|
|
@ -204,7 +204,7 @@ func (r *RoomserverInternalAPI) performJoinRoomByID(
|
|||
// a member of the room.
|
||||
alreadyJoined := false
|
||||
for _, se := range buildRes.StateEvents {
|
||||
if !se.StateKeyEquals(*event.StateKey()) {
|
||||
if !se.StateKeyEquals(userID) {
|
||||
continue
|
||||
}
|
||||
if membership, merr := se.Membership(); merr == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue