feat: Chat request implementation #14

Manually merged
awiteb merged 55 commits from awiteb/chat-request-and-response into master 2024-07-18 14:21:39 +02:00 AGit
Showing only changes of commit c13d0fc59b - Show all commits

View file

@ -56,7 +56,7 @@ pub enum ServerEventType {
/// New chat request from someone /// New chat request from someone
ChatRequest { from: PublicKey }, ChatRequest { from: PublicKey },
/// New chat request response from someone /// New chat request response from someone
ChatRequestResponse { from: PublicKey, accepted: bool }, ChatRequestResponse { accepted: bool, from: PublicKey },
awiteb marked this conversation as resolved
Review

in the client, you mentioned to make it alphabetical, should it be the same here?

in the client, you mentioned to make it alphabetical, should it be the same here?
Review

Yes, I forgot it

Yes, I forgot it
/// Error event /// Error event
Error { Error {
name: &'static str, name: &'static str,