Support changing your own name and handling name change events

This commit is contained in:
Gabe Kangas
2022-05-26 13:52:04 -07:00
parent 5a51b2d779
commit 1d213b71d4
12 changed files with 147 additions and 100 deletions

View File

@ -31,3 +31,8 @@ export interface ChatEvent extends SocketEvent {
user: User;
body: string;
}
export interface NameChangeEvent extends SocketEvent {
user: User;
oldName: string;
}