mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
Give setup-changed messages the same timestamp as the previous message (#3188)
This commit is contained in:
@@ -355,6 +355,10 @@ impl Chatlist {
|
||||
pub fn get_index_for_id(&self, id: ChatId) -> Option<usize> {
|
||||
self.ids.iter().position(|(chat_id, _)| chat_id == &id)
|
||||
}
|
||||
|
||||
pub fn iter(&self) -> impl Iterator<Item = &(ChatId, Option<MsgId>)> {
|
||||
self.ids.iter()
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the number of archived chats
|
||||
|
||||
Reference in New Issue
Block a user