mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
Mail: Fetch mails with their sequence number
The FETCH response doesn't have return the sequence in order, or at very least one of my mail providers doesn't do it.
This commit is contained in:
parent
720c27efbd
commit
0132c30eda
3 changed files with 11 additions and 3 deletions
|
@ -11,12 +11,18 @@
|
|||
#include <LibIMAP/Objects.h>
|
||||
|
||||
struct InboxEntry {
|
||||
u32 sequence_number;
|
||||
DeprecatedString from;
|
||||
DeprecatedString subject;
|
||||
DeprecatedString date;
|
||||
bool seen;
|
||||
};
|
||||
|
||||
enum class InboxModelCustomRole {
|
||||
__DONOTUSE = (int)GUI::ModelRole::Custom,
|
||||
Sequence,
|
||||
};
|
||||
|
||||
class InboxModel final : public GUI::Model {
|
||||
public:
|
||||
enum Column {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue