We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3479e9 + 2f72fef commit ff49ba6Copy full SHA for ff49ba6
βserver/socket/mom.tsβ
@@ -23,7 +23,7 @@ async function momSocketServer(io: Server) {
23
socket.on(SOCKET_MESSAGE.MOM.CREATE, async () => {
24
const mom = await crdtManager.onCreateMom(workspaceId);
25
26
- workspace.emit(SOCKET_MESSAGE.MOM.CREATE, mom);
+ io.of(namespace).emit(SOCKET_MESSAGE.MOM.CREATE, mom);
27
});
28
29
/* νμλ‘ μ ννκΈ° */
0 commit comments