Removed the ListenerJoined and ListenerLeft events

This commit is contained in:
Thomas Viesmose Birch
2024-05-04 16:09:35 +02:00
parent 365132977a
commit 4ef0946605
5 changed files with 3 additions and 55 deletions
-6
View File
@@ -6,8 +6,6 @@ import {
CurrentSong,
GetPlaylist,
Join,
ListenerJoined,
ListenerLeft,
ListenerList,
Playlists,
PlaylistSongs,
@@ -32,10 +30,6 @@ export default function parseMessage(message: string): StuenMessage | null {
switch (data.type) {
case 'Join':
return new Join(data.name);
case 'ListenerJoined':
return new ListenerJoined(data.name);
case 'ListenerLeft':
return new ListenerLeft(data.name);
case 'ListenerList':
return new ListenerList(data.names);
case 'SendChatMessage':