cargo clippy

This commit is contained in:
Mike Dilger 2024-03-02 13:10:41 +13:00
parent c86ab862ef
commit 014a0ff7fe

View File

@ -468,7 +468,7 @@ impl WebSocketService {
if filter.as_filter()?.event_matches(&event)? if filter.as_filter()?.event_matches(&event)?
&& nostr::screen_outgoing_event(&event, &event_flags, authorized_user) && nostr::screen_outgoing_event(&event, &event_flags, authorized_user)
{ {
let message = NostrReply::Event(subid, event.clone()); let message = NostrReply::Event(subid, event);
self.websocket self.websocket
.send(Message::text(message.as_json())) .send(Message::text(message.as_json()))
.await?; .await?;