1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Fixing merge conflict.

This commit is contained in:
mike12345567 2023-05-31 18:08:29 +01:00
parent 039e78379f
commit 969ee52c29

View file

@ -14,9 +14,9 @@ export default class BuilderSocket extends BaseSocket {
super(app, server, "/socket/builder", [authorized(permissions.BUILDER)])
}
async onConnect(socket: ?Socket) {
async onConnect(socket?: Socket) {
// Initial identification of selected app
socket.on(BuilderSocketEvent.SelectApp, async (appId, callback) => {
socket?.on(BuilderSocketEvent.SelectApp, async (appId, callback) => {
await this.joinRoom(socket, appId)
// Reply with all users in current room