mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 11:53:09 -06:00
Update comment
This commit is contained in:
parent
337fe539c2
commit
2143bb7a12
|
|
@ -102,7 +102,7 @@ func updateMembership(
|
||||||
}
|
}
|
||||||
if oldMembership == newMembership || newMembership == gomatrixserverlib.Leave {
|
if oldMembership == newMembership || newMembership == gomatrixserverlib.Leave {
|
||||||
// If the membership is the same then nothing changed and we can return
|
// If the membership is the same then nothing changed and we can return
|
||||||
// immediately, unless it's a Join update (e.g. profile update).
|
// immediately. Likewise if it's a leave - there's nothing more to do.
|
||||||
return updates, nil
|
return updates, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue