Discreetly / Discreetly/server

System Message Broadcasts

Open
#73 0 comments 0 reactions 1 assignee Claimed by @Codetrauma View on GitHub
Dominant language
TypeScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/Discreetly/server/blob/b37e80961d70491e464e9614742c0ee0f7c92e18/src/websockets/index.ts#L71

This needs to be removed. socket.on('systemMessage') allows any client to be able to broadcast using that method.

We should be passing the `io` object to the createmessage

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.