mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
Include displayname on remote invites
This commit is contained in:
1 parent
73eee626df
commit
cc9e99f31d
1 file changed
+6
@@ -51,6 +51,12 @@ async fn remote_invite(
|
||||
let state_lock = self.services.state.mutex.lock(room_id).await;
|
||||
|
||||
let content = RoomMemberEventContent {
|
||||
displayname: self
|
||||
.services
|
||||
.users
|
||||
.displayname(user_id)
|
||||
.await
|
||||
.ok(),
|
||||
avatar_url: self.services.users.avatar_url(user_id).await.ok(),
|
||||
is_direct: Some(is_direct),
|
||||
reason: reason.cloned(),
|
||||
|
||||
Reference in new issue
Block a user