forked from jmug/stoatchat
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 msgpack_msg = Message::Binary(rmp_serde::to_vec_named(¬ification).unwrap());
|
||||||
|
|
||||||
let connections = CONNECTIONS.lock().unwrap();
|
let connections = CONNECTIONS.lock().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user