Replace servers with channels in chat functionality: refactored UI components, service logic, and message model to support channels (SERVER, DM, PARTY, GAC).

This commit is contained in:
2026-08-01 19:10:33 +02:00
parent 0d6a4ee8dd
commit f9f05dcc88
16 changed files with 152 additions and 102 deletions
@@ -0,0 +1,5 @@
export interface ChatChannel {
name: string;
type: 'SERVER' | 'DM' | 'PARTY' | 'GAC';
unreadMessages: number;
}
@@ -9,4 +9,6 @@ export interface ChatMessage {
receiver: string;
messageJson: MiniMessageComponent;
notBlocked: boolean;
channelName?: string;
channelType?: 'SERVER' | 'DM' | 'PARTY' | 'GAC';
}
@@ -1,4 +0,0 @@
export interface ChatServer {
server: string;
unreadMessages: number;
}