Full hosted rooms are refused with IMVU's own full-room code
CI / build (push) Successful in 29s

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-10-30 07:07:31 -07:00
1 parent 56c47e806f
commit 6aac769246
3 files changed
+10 -4

No files matched your search

+4 -1
View File
@@ -780,8 +780,11 @@ func (r *Rooms) joinChat(ctx context.Context, n int64, inviteID string) *http.Re
}
// Refused as the client's own refusals are (it shows the explanation; booted ones as booted).
reason := int64(0)
if a.Reason == "banned" {
switch a.Reason {
case "banned":
reason = errorPublicRoomBooted
case "full":
reason = errorPublicRoomFull
}
return xmlrpcAnswer(xmlrpc.Struct{{Name: "response", Value: "declined"}, {Name: "reason", Value: reason}, {Name: "explanation", Value: msg}})
}