From b551149e118305a61e91daa8de80be23f5f7042f Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 8 Sep 2017 14:02:03 +0100 Subject: [PATCH] Update comment --- .../matrix-org/dendrite/federationapi/writers/threepid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/federationapi/writers/threepid.go b/src/github.com/matrix-org/dendrite/federationapi/writers/threepid.go index a37f8a363..95da783e0 100644 --- a/src/github.com/matrix-org/dendrite/federationapi/writers/threepid.go +++ b/src/github.com/matrix-org/dendrite/federationapi/writers/threepid.go @@ -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