mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-17 13:20:25 -04:00
Improved conversation sorting
This commit is contained in:
parent
398c3c3504
commit
ee6cc9fd4f
2 changed files with 3 additions and 1 deletions
|
@ -236,6 +236,7 @@ class ConversationMessage:
|
|||
self.lxm = LXMF.LXMessage.unpack_from_file(open(self.file_path, "rb"))
|
||||
self.loaded = True
|
||||
self.timestamp = self.lxm.timestamp
|
||||
self.sort_timestamp = os.path.getmtime(self.file_path)
|
||||
|
||||
if self.lxm.state > LXMF.LXMessage.DRAFT and self.lxm.state < LXMF.LXMessage.SENT:
|
||||
found = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue