diff --git a/src/github.com/matrix-org/dendrite/clientapi/readers/threepid.go b/src/github.com/matrix-org/dendrite/clientapi/readers/threepid.go index 0a3860f29..924917676 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/readers/threepid.go +++ b/src/github.com/matrix-org/dendrite/clientapi/readers/threepid.go @@ -133,6 +133,7 @@ func GetAssociated3PIDs( } var resp threePIDsResponse + resp.ThreePIDs = []threePID{} for address, medium := range threepids { tpid := threePID{Medium: medium, Address: address} resp.ThreePIDs = append(resp.ThreePIDs, tpid)