-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio zone fixes #4278
Audio zone fixes #4278
Changes from 3 commits
e2b19bf
0ac553c
05ebdbb
35b605d
568f901
7de5f89
aff978a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,18 @@ const HUB_CREATOR_PERMISSIONS = [ | |
"update_roles", | ||
"close_hub", | ||
"mute_users", | ||
"kick_users" | ||
"kick_users", | ||
"amplify_audio" | ||
]; | ||
const VALID_PERMISSIONS = | ||
HUB_CREATOR_PERMISSIONS + | ||
["tweet", "spawn_camera", "spawn_drawing", "spawn_and_move_media", "pin_objects", "spawn_emoji", "fly"]; | ||
const VALID_PERMISSIONS = HUB_CREATOR_PERMISSIONS.concat([ | ||
"tweet", | ||
"spawn_camera", | ||
"spawn_drawing", | ||
"spawn_and_move_media", | ||
"pin_objects", | ||
"spawn_emoji", | ||
"fly" | ||
]); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh wow, nice catch 😅 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah at first I was like "Wait, js has an array concatenation operator? And then I realized what was going on... Oh javascript. Funny that it just happened to work mostly correctly by chance. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah good to see it's fixed, noticed that a year ago and I was just about to push a PR for that! |
||
|
||
export default class HubChannel extends EventTarget { | ||
constructor(store, hubId) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the contents of this function has drifted from its behavior. Maybe
updatePlayerInfoFromPresenceMeta
?