Fix deserializing empty events and replies

This commit is contained in:
Joscha 2023-04-08 20:05:41 +02:00
parent c479cbd687
commit 0c135844a4
4 changed files with 9 additions and 8 deletions

View file

@ -68,7 +68,7 @@ pub struct LoginEvent {
/// Sent to all sessions of an agent when that agent is logged out (except for
/// the session that issued the logout command).
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct LogoutEvent;
pub struct LogoutEvent {}
/// Indicates some server-side event that impacts the presence of sessions in a
/// room.