feat: add backend sticker message relay and fix frontend handler
- Add stickers.setMode and stickers.mode handlers to WebSocket manager so messages relay between frontend and vote-app via session broadcast - Fix frontend to read message.data.mode (matching broadcastEvent format) - Bump version to 0.8.1 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,7 +2,7 @@ export const branding = {
|
||||
app: {
|
||||
name: 'HSO Jackbox Game Picker',
|
||||
shortName: 'Jackbox Game Picker',
|
||||
version: '0.8.0 - Stickers That Stick Edition',
|
||||
version: '0.8.1 - Stickers That Stick Edition',
|
||||
description: 'Spicing up Hyper Spaceout game nights!',
|
||||
},
|
||||
meta: {
|
||||
|
||||
@@ -1534,7 +1534,7 @@ function SessionInfo({ sessionId, onGamesUpdate, playingGame, setPlayingGame, se
|
||||
}
|
||||
|
||||
if (message.type === 'stickers.mode') {
|
||||
setStickerMode(message.mode);
|
||||
setStickerMode(message.data.mode);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user