From 0fee1035eb9bb15dc375b1ba43e5ebc013c66d06 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Mon, 10 Jul 2017 18:23:57 +0100 Subject: [PATCH] Doc'd --- src/github.com/matrix-org/dendrite/clientapi/readers/profile.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/github.com/matrix-org/dendrite/clientapi/readers/profile.go b/src/github.com/matrix-org/dendrite/clientapi/readers/profile.go index cddd1ffc6..d4ba5136c 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/readers/profile.go +++ b/src/github.com/matrix-org/dendrite/clientapi/readers/profile.go @@ -180,6 +180,8 @@ func getLocalPart(userID string) string { return strings.Split(username, "@")[1] } +// Send an update using kafka to notify the roomserver of the profile update +// Returns an error if the update failed to send func sendUpdate(userID string, newAvatarURL string, newDisplayName string, accountDB *accounts.Database, cfg config.Dendrite, ) error {