exclude emotes from chat
This commit is contained in:
parent
150fa3515e
commit
f8dd0b7405
@ -53,7 +53,8 @@ export function setupChat(room: Room) {
|
||||
({ packet }) =>
|
||||
packet.message?.$case === 'chat' &&
|
||||
!packet.message.chat.message.startsWith('␆') /* ping */ &&
|
||||
!packet.message.chat.message.startsWith('␑') /* pong */
|
||||
!packet.message.chat.message.startsWith('␑') /* pong */ &&
|
||||
!packet.message.chat.message.startsWith('␐') /* emotes */
|
||||
),
|
||||
map(({ packet, msg }) => {
|
||||
if (packet.message?.$case === 'chat') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user