enostr: remove raw event type

we rely on the event type for multicast logic,
so remove raw since its not really needed anymore

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-17 14:20:33 -07:00
parent 8a1398face
commit 8d2da86f1f
2 changed files with 26 additions and 18 deletions

View File

@@ -38,10 +38,6 @@ impl ClientMessage {
Ok(ClientMessage::Event(EventClientMessage { note_json }))
}
pub fn raw(raw: String) -> Self {
ClientMessage::Raw(raw)
}
pub fn req(sub_id: String, filters: Vec<Filter>) -> Self {
ClientMessage::Req { sub_id, filters }
}