Support changing your own name and handling name change events
This commit is contained in:
@@ -31,3 +31,8 @@ export interface ChatEvent extends SocketEvent {
|
||||
user: User;
|
||||
body: string;
|
||||
}
|
||||
|
||||
export interface NameChangeEvent extends SocketEvent {
|
||||
user: User;
|
||||
oldName: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user