Skip to content

Commit 0febf36

Browse files
committed
remove stock string TODOs
1 parent 7520628 commit 0febf36

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/stock_str.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,10 +1258,8 @@ impl Viewtype {
12581258
Viewtype::Voice => voice_message(context).await,
12591259
Viewtype::Video => video(context).await,
12601260
Viewtype::File => file(context).await,
1261-
Viewtype::Webxdc => "Mini App".to_owned(), // TODO stock-string
1261+
Viewtype::Webxdc => "Mini App".to_owned(),
12621262
Viewtype::Vcard => contact(context).await,
1263-
// OPTIONAL TODO - would not be used right now,
1264-
// because this method is only used for metadata on large attachments
12651263
Viewtype::Unknown | Viewtype::Text | Viewtype::Call => self.to_string(),
12661264
}
12671265
}

0 commit comments

Comments
 (0)