This commit is contained in:
Brendan Abolivier 2017-07-10 18:23:57 +01:00
parent bc17740d9c
commit 0fee1035eb
No known key found for this signature in database
GPG key ID: 8EF1500759F70623

View file

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