Include userid in the endpoint when setting displayname

matrix-delivery
Jason Robinson 2020-12-25 16:49:14 +02:00
rodzic 3dd9921899
commit 51c46364f3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -70,7 +70,7 @@ class MatrixProfile(Profile, MatrixEntityMixin):
},
})
payloads.append({
"endpoint": f"{super().get_endpoint()}/profile/{self.mxid}/displayname",
"endpoint": f"{super().get_endpoint()}/profile/{self.mxid}/displayname?user_id={self.mxid}",
"payload": {
"displayname": self.name,
},