mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -06:00
Doc'd
This commit is contained in:
parent
bc17740d9c
commit
0fee1035eb
|
|
@ -180,6 +180,8 @@ func getLocalPart(userID string) string {
|
||||||
return strings.Split(username, "@")[1]
|
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,
|
func sendUpdate(userID string, newAvatarURL string, newDisplayName string,
|
||||||
accountDB *accounts.Database, cfg config.Dendrite,
|
accountDB *accounts.Database, cfg config.Dendrite,
|
||||||
) error {
|
) error {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue