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.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/roomserver/api/perform.go b/roomserver/api/perform.go
index ec561f11..ae2d6d97 100644
--- a/roomserver/api/perform.go
+++ b/roomserver/api/perform.go
@@ -123,6 +123,17 @@ type PerformPeekResponse struct {
Error *PerformError
}
+type PerformUnpeekRequest struct {
+ RoomID string `json:"room_id"`
+ UserID string `json:"user_id"`
+ DeviceID string `json:"device_id"`
+}
+
+type PerformUnpeekResponse struct {
+ // If non-nil, the join request failed. Contains more information why it failed.
+ Error *PerformError
+}
+
// PerformBackfillRequest is a request to PerformBackfill.
type PerformBackfillRequest struct {
// The room to backfill