File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1864,7 +1864,7 @@ impl MimeMessage {
1864
1864
/// Returns parsed `Chat-Group-Member-Timestamps` header contents.
1865
1865
///
1866
1866
/// Returns `None` if there is no such header.
1867
- pub async fn chat_group_member_timestamps ( & self ) -> Option < Vec < i64 > > {
1867
+ pub fn chat_group_member_timestamps ( & self ) -> Option < Vec < i64 > > {
1868
1868
let now = time ( ) + constants:: TIMESTAMP_SENT_TOLERANCE ;
1869
1869
self . get_header ( HeaderDef :: ChatGroupMemberTimestamps )
1870
1870
. map ( |h| {
Original file line number Diff line number Diff line change @@ -2064,8 +2064,7 @@ async fn create_group(
2064
2064
chat_id_blocked = create_blocked;
2065
2065
2066
2066
// Create initial member list.
2067
- if let Some ( chat_group_member_timestamps) = mime_parser. chat_group_member_timestamps ( ) . await
2068
- {
2067
+ if let Some ( chat_group_member_timestamps) = mime_parser. chat_group_member_timestamps ( ) {
2069
2068
let expected_timestamps_count = to_ids. len ( ) + past_ids. len ( ) ;
2070
2069
if chat_group_member_timestamps. len ( ) == expected_timestamps_count {
2071
2070
context
@@ -2274,8 +2273,7 @@ async fn apply_group_changes(
2274
2273
}
2275
2274
}
2276
2275
2277
- if let Some ( ref chat_group_member_timestamps) = mime_parser. chat_group_member_timestamps ( ) . await
2278
- {
2276
+ if let Some ( ref chat_group_member_timestamps) = mime_parser. chat_group_member_timestamps ( ) {
2279
2277
let expected_timestamps_count = to_ids. len ( ) + past_ids. len ( ) ;
2280
2278
if chat_group_member_timestamps. len ( ) == expected_timestamps_count {
2281
2279
context
You can’t perform that action at this time.
0 commit comments