aboutsummaryrefslogtreecommitdiff
path: root/xxcc.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-28 00:20:54 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-09-18 10:35:30 +0200
commit5bbe04c9ca091a0626f34afe5e3ba2141e2963de (patch)
tree35e76183618fe557b4ded5735fb846e3c6cf3995 /xxcc.h
parentd32b9e93572c5e6999a7323139de38cc1a7197cf (diff)
WIP OMEMO TrustDb/JidDb
Diffstat (limited to 'xxcc.h')
-rw-r--r--xxcc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xxcc.h b/xxcc.h
index d2f9496..f4825e1 100644
--- a/xxcc.h
+++ b/xxcc.h
@@ -28,12 +28,14 @@ private:
Client *selected;
void connectAccounts(const QList<Credentials::Pair> &pairs);
void storeMessage(const QXmppMessage &msg, Direction dir) const;
+ void storeMessage(const QString &from, const QString &to,
+ const QString &msg, const QDateTime &dt, Direction dir) const;
void retrieveConversations();
private Q_SLOTS:
void startChat(QString from, QString to);
void addInMessage(const QXmppMessage &msg);
- void addOutMessage(const QXmppMessage &msg);
+ void addOutMessage(const QString &msg, const QDateTime &dt);
void addAccount(Client *c);
void send(void);
};