kopia lustrzana https://gitlab.com/jaywink/federation
Include userid in the endpoint when setting displayname
rodzic
3dd9921899
commit
51c46364f3
|
@ -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,
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue