mirror of
https://github.com/mikedilger/chorus.git
synced 2026-05-03 06:51:42 +00:00
cargo fmt
This commit is contained in:
parent
1c608ab1bf
commit
a615fd50c4
@ -116,8 +116,8 @@ impl WebSocketService {
|
||||
// If any DM kinds were requested, complain.
|
||||
// But if NO kinds were requested, we will just silently not return DMs (elsewhere)
|
||||
if filter
|
||||
.kinds()
|
||||
.any(|k| k.as_u16() == 4 || k.as_u16() == 1059)
|
||||
.kinds()
|
||||
.any(|k| k.as_u16() == 4 || k.as_u16() == 1059)
|
||||
{
|
||||
// They need to AUTH first to request DMs
|
||||
let reply = NostrReply::Closed(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user