diff options
Diffstat (limited to 'src/client.rs')
| -rw-r--r-- | src/client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.rs b/src/client.rs index db41f99..abde217 100644 --- a/src/client.rs +++ b/src/client.rs | |||
| @@ -1182,12 +1182,12 @@ async fn process_fetched_events( | |||
| 1182 | } else if [Kind::RelayList, Kind::Metadata].contains(&event.kind()) { | 1182 | } else if [Kind::RelayList, Kind::Metadata].contains(&event.kind()) { |
| 1183 | if request | 1183 | if request |
| 1184 | .missing_contributor_profiles | 1184 | .missing_contributor_profiles |
| 1185 | .contains(event.author_ref()) | 1185 | .contains(&event.author()) |
| 1186 | { | 1186 | { |
| 1187 | report.contributor_profiles.insert(event.author()); | 1187 | report.contributor_profiles.insert(event.author()); |
| 1188 | } else if let Some((_, (metadata_timestamp, relay_list_timestamp))) = request | 1188 | } else if let Some((_, (metadata_timestamp, relay_list_timestamp))) = request |
| 1189 | .profiles_to_fetch_from_user_relays | 1189 | .profiles_to_fetch_from_user_relays |
| 1190 | .get_key_value(event.author_ref()) | 1190 | .get_key_value(&event.author()) |
| 1191 | { | 1191 | { |
| 1192 | if (Kind::Metadata.eq(&event.kind()) | 1192 | if (Kind::Metadata.eq(&event.kind()) |
| 1193 | && event.created_at().gt(metadata_timestamp)) | 1193 | && event.created_at().gt(metadata_timestamp)) |