Update comment

This commit is contained in:
Brendan Abolivier 2017-09-08 14:02:03 +01:00
parent 667408a8a4
commit b551149e11
No known key found for this signature in database
GPG key ID: 8EF1500759F70623

View file

@ -155,7 +155,7 @@ func createInviteFrom3PIDInvite(
return &event, nil
}
// fillDisplayName looks in the room's state events for a m.room.third_party_invite
// fillDisplayName looks in a list of auth events for a m.room.third_party_invite
// event with the state key matching a given m.room.member event's content's token.
// If such an event is found, fills the "display_name" attribute of the
// "third_party_invite" structure in the m.room.member event with the display_name