aboutsummaryrefslogtreecommitdiff
path: root/roomserver/api/perform.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/api/perform.go')
-rw-r--r--roomserver/api/perform.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/roomserver/api/perform.go b/roomserver/api/perform.go
index 6cbaf5b1..b466b7ba 100644
--- a/roomserver/api/perform.go
+++ b/roomserver/api/perform.go
@@ -41,8 +41,8 @@ type PerformJoinRequest struct {
}
type PerformLeaveRequest struct {
- RoomID string `json:"room_id"`
- UserID string `json:"user_id"`
+ RoomID string
+ Leaver spec.UserID
}
type PerformLeaveResponse struct {