static Buffer *buffer(BufferInfo);
static inline Buffer *monitorBuffer() { return instance()->_monitorBuffer; }
- Buffer *statusBuffer(const NetworkId &networkid) const;
-
static QList<NetworkId> networkIds();
static const Network * network(NetworkId);
enum ClientMode { LocalCore, RemoteCore };
static void checkForHighlight(Message &msg);
- static void setBufferLastSeen(BufferId id, const QDateTime &seen); // this is synced to core and other clients
+ static void setBufferLastSeenMsg(BufferId id, const MsgId &msgId); // this is synced to core and other clients
static void removeBuffer(BufferId id);
signals:
void recvStatusMsg(QString network, QString message);
void recvBacklogData(BufferInfo, QVariantList, bool);
void updateBufferInfo(BufferInfo);
- void updateLastSeen(BufferId id, const QDateTime &lastSeen);
+ void updateLastSeenMsg(BufferId id, const MsgId &msgId);
void layoutMsg();
static void setCurrentCoreAccount(AccountId);
static inline BufferSyncer *bufferSyncer() { return instance()->_bufferSyncer; }
+ Buffer *statusBuffer(const NetworkId &networkid) const;
+
static QPointer<Client> instanceptr;
QPointer<QIODevice> socket;