Add support for "SPY" channel type: updated models, ChatService, and ChannelListComponent to handle SPY channels and their name mappings.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export interface ChatChannel {
|
||||
name: string;
|
||||
type: 'SERVER' | 'DM' | 'PARTY' | 'GAC';
|
||||
type: 'SERVER' | 'DM' | 'PARTY' | 'GAC' | 'SPY';
|
||||
unreadMessages: number;
|
||||
}
|
||||
|
||||
@@ -10,5 +10,5 @@ export interface ChatMessage {
|
||||
messageJson: MiniMessageComponent;
|
||||
notBlocked: boolean;
|
||||
channelName?: string;
|
||||
channelType?: 'SERVER' | 'DM' | 'PARTY' | 'GAC';
|
||||
channelType?: 'SERVER' | 'DM' | 'PARTY' | 'GAC' | 'SPY';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user