mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
remove clone
This commit is contained in:
@@ -358,7 +358,7 @@ pub fn publish(ids: Vec<String>, notification: ClientboundNotification) {
|
||||
}
|
||||
}
|
||||
|
||||
let json_msg = Message::Text(serde_json::to_string(¬ification.clone()).unwrap());
|
||||
let json_msg = Message::Text(serde_json::to_string(¬ification).unwrap());
|
||||
let msgpack_msg = Message::Binary(rmp_serde::to_vec_named(¬ification).unwrap());
|
||||
|
||||
let connections = CONNECTIONS.lock().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user