not sure what is going on anymore, a lot of changes as im working on the chat thing. currently simple chat seems to work

This commit is contained in:
Rusty Striker 2024-10-01 20:53:19 +03:00
parent dd34317d14
commit acf96db186
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
11 changed files with 170 additions and 52 deletions

View file

@ -13,6 +13,7 @@ pub enum Request {
Error,
Login(login::LoginRequest),
Message(ChatMessage),
GetChatHistory { amount: usize, from: usize },
Quit,
Shutdown
}
@ -22,6 +23,7 @@ pub enum Response {
Error(RequestError),
Login(login::LoginResult),
Message(ChatMessage),
GetChatHistory(Vec<ChatMessage>),
Quit { id: String },
Shutdown,