encrypted messages now are displayed in the feed
This commit is contained in:
parent
637eb702a8
commit
0a530bfa93
34 changed files with 439 additions and 245 deletions
|
@ -16,12 +16,12 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef MESSAGEFEED_H
|
||||
#define MESSAGEFEED_H
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
#include <QHash>
|
||||
|
||||
#include <set>
|
||||
|
||||
|
@ -100,6 +100,7 @@ public:
|
|||
Sender,
|
||||
Date,
|
||||
DeliveryState,
|
||||
Encryption,
|
||||
Correction,
|
||||
SentByMe,
|
||||
Avatar,
|
||||
|
@ -216,6 +217,7 @@ struct FeedItem {
|
|||
Edition correction;
|
||||
QDateTime date;
|
||||
Shared::Message::State state;
|
||||
Shared::EncryptionProtocol encryption;
|
||||
Attachment attach;
|
||||
};
|
||||
};
|
||||
|
@ -224,4 +226,4 @@ Q_DECLARE_METATYPE(Models::Attachment);
|
|||
Q_DECLARE_METATYPE(Models::Edition);
|
||||
Q_DECLARE_METATYPE(Models::FeedItem);
|
||||
|
||||
#endif // MESSAGEFEED_H
|
||||
#pragma once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue