Decorations: keep them through IMVU's own room updates
CI / build (push) Successful in 33s

After the owner saves, IMVU's server sends everyone the saved room ({"command": "SetRoomState"} from
admin on the chat's control mount), which has no decorations: the proxy now adds them to it, and takes
community products out of any outgoing one. A change notice from the hub also no longer empties the
remembered decorations while the new ones are asked for (a broadcast arriving meanwhile went through
without them).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-10-30 05:00:11 -07:00
1 parent 0be2cd8f4e
commit 13ee023836
4 files changed
+159 -9

No files matched your search

+6
View File
@@ -578,6 +578,12 @@ func (p *Products) Outgoing(queue, mount string, message []byte) ([]byte, bool)
}
func (p *Products) outgoing(queue, mount string, message []byte) ([]byte, bool) {
if strings.HasPrefix(queue, "/chat/") && mount == "control" {
if out, changed := p.outgoingControlScene(message); changed {
return out, false
}
return message, false
}
if !strings.HasPrefix(queue, "/chat/") || mount != "messages" {
return message, false
}