Skip to content

Commit 6384539

Browse files
committed
clippy
1 parent 5f37f0a commit 6384539

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/self_reporting.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ struct ContactInfo {
5757
id: ContactId,
5858

5959
verified: VerifiedStatus,
60-
61-
#[serde(skip_serializing)]
62-
verifier: ContactId, // TODO unused, could be removed
6360
bot: bool,
6461
direct_chat: bool,
6562
last_seen: u64,
63+
6664
//new: bool, // TODO
6765
#[serde(skip_serializing_if = "Option::is_none")]
6866
transitive_chain: Option<u32>,
@@ -103,7 +101,6 @@ async fn get_contact_infos(context: &Context) -> Result<Vec<ContactInfo>> {
103101
Ok(ContactInfo {
104102
id,
105103
verified,
106-
verifier,
107104
bot,
108105
direct_chat: false, // will be filled later
109106
last_seen,

0 commit comments

Comments
 (0)