upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/key_handling
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2023-11-01 00:00:00 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2023-11-01 00:00:00 +0000
commit9a00d130b05d1e8e762c1e5df12c709c5c38890c (patch)
treea2a365cfd7fb0280710be0c961aa2f4106a950ac /src/key_handling
parent7d91161fbacbf2a488bf24754793f2897aae9199 (diff)
build(deps) update nostr nostr-sdk
fix breaking changes
Diffstat (limited to 'src/key_handling')
-rw-r--r--src/key_handling/users.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/key_handling/users.rs b/src/key_handling/users.rs
index a486296..75a0a00 100644
--- a/src/key_handling/users.rs
+++ b/src/key_handling/users.rs
@@ -190,11 +190,11 @@ impl UserManagement for UserManager {
190 relays_to_search, 190 relays_to_search,
191 vec![ 191 vec![
192 nostr::Filter::default() 192 nostr::Filter::default()
193 .author(public_key.to_string()) 193 .author(*public_key)
194 .since(nostr::Timestamp::from(user_ref.metadata.created_at + 1)) 194 .since(nostr::Timestamp::from(user_ref.metadata.created_at + 1))
195 .kind(Kind::Metadata), 195 .kind(Kind::Metadata),
196 nostr::Filter::default() 196 nostr::Filter::default()
197 .author(public_key.to_string()) 197 .author(*public_key)
198 .since(nostr::Timestamp::from(user_ref.relays.created_at + 1)) 198 .since(nostr::Timestamp::from(user_ref.relays.created_at + 1))
199 .kind(Kind::RelayList), 199 .kind(Kind::RelayList),
200 ], 200 ],