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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user