diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2024-02-13 19:28:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 19:28:52 +0100 |
commit | e9deb5244edd4827234622ea0d3b11678a33b0ac (patch) | |
tree | 8b5d4bc7da6b305ef506b85fbe1ac2a99f3dd1dd /roomserver/api | |
parent | be0c27e68865f031e59a091fcec5244a7b48da44 (diff) |
Fix `/createRoom` and `/invite` containing displayname/avatarURL of inviter (#3326)
Fixes #3324
Diffstat (limited to 'roomserver/api')
-rw-r--r-- | roomserver/api/perform.go | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/roomserver/api/perform.go b/roomserver/api/perform.go index 9e00da2c..d6caec08 100644 --- a/roomserver/api/perform.go +++ b/roomserver/api/perform.go @@ -50,16 +50,14 @@ type PerformLeaveResponse struct { } type InviteInput struct { - RoomID spec.RoomID - Inviter spec.UserID - Invitee spec.UserID - DisplayName string - AvatarURL string - Reason string - IsDirect bool - KeyID gomatrixserverlib.KeyID - PrivateKey ed25519.PrivateKey - EventTime time.Time + RoomID spec.RoomID + Inviter spec.UserID + Invitee spec.UserID + Reason string + IsDirect bool + KeyID gomatrixserverlib.KeyID + PrivateKey ed25519.PrivateKey + EventTime time.Time } type PerformInviteRequest struct { |