Update comment

This commit is contained in:
Neil Alexander 2020-05-11 13:30:38 +01:00
parent 337fe539c2
commit 2143bb7a12

View file

@ -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
} }