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:
parent
dd34317d14
commit
acf96db186
11 changed files with 170 additions and 52 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue