mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 22:06:29 +03:00
typo + only send for webxdcs
This commit is contained in:
@@ -60,7 +60,7 @@ pub fn event_to_json_rpc_notification(event: Event) -> Value {
|
||||
msg_id,
|
||||
status_update_serial,
|
||||
} => (json!(msg_id), json!(status_update_serial)),
|
||||
EventType::WebXdInstanceDeleted { msg_id } => (json!(msg_id), Value::Null),
|
||||
EventType::WebxdcInstanceDeleted { msg_id } => (json!(msg_id), Value::Null),
|
||||
};
|
||||
|
||||
let id: EventTypeName = event.typ.into();
|
||||
@@ -139,7 +139,7 @@ impl From<EventType> for EventTypeName {
|
||||
EventType::ConnectivityChanged => ConnectivityChanged,
|
||||
EventType::SelfavatarChanged => SelfavatarChanged,
|
||||
EventType::WebxdcStatusUpdate { .. } => WebxdcStatusUpdate,
|
||||
EventType::WebXdInstanceDeleted { .. } => WebXdInstanceDeleted,
|
||||
EventType::WebxdcInstanceDeleted { .. } => WebXdInstanceDeleted,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user