Remove the hosted rooms' old owner mapping
CI / build (push) Successful in 28s

Hosted rooms' instance IDs start with their owner's IMVU account now, so the client asks about their
products as the owner itself, and the mapping from 2100000000 is never used.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-10-30 07:05:25 -07:00
1 parent 2df46da3ad
commit 56c47e806f
6 files changed
+6 -79

No files matched your search

-11
View File
@@ -645,17 +645,6 @@ func (r *Rooms) getRoom(ctx context.Context, n int64) (*Room, [][3]any, string,
return &out.Room, out.Scene.Contents, out.Scene.Hash, nil
}
// Owner is the IMVU account owning the hosted room the client joined last (0 if none, or not known): the client
// checks the room's products against it (products.HostedOwner).
func (r *Rooms) Owner() int64 {
r.mu.Lock()
defer r.mu.Unlock()
if _, in := r.rooms[r.last]; !in {
return 0
}
return r.owners[r.last]
}
func (r *Rooms) roomCard(ctx context.Context, n int64) *http.Response {
rm, _, _, err := r.getRoom(ctx, n)
if err != nil {