Un-break build. Apparently I didn't test as I thought I had.

This commit is contained in:
Simon Redman 2018-12-12 22:49:33 -07:00
parent 019e8d6a1c
commit 7025fd6795
2 changed files with 4 additions and 4 deletions

View file

@ -77,7 +77,7 @@ void ConversationsDbusInterface::requestConversation(const qint64& conversationI
void ConversationsDbusInterface::addMessages(const QList<ConversationMessage> &messages)
{
QSet<qint32> updatedConversationIDs;
QSet<qint64> updatedConversationIDs;
for (const auto& message : messages) {
const qint32& threadId = message.threadID();
@ -122,7 +122,7 @@ QList<ConversationMessage> ConversationsDbusInterface::getConversation(const qin
return m_conversations.value(conversationID).values();
}
void ConversationsDbusInterface::updateConversation(const qint32& conversationID)
void ConversationsDbusInterface::updateConversation(const qint64& conversationID)
{
waitingForMessagesLock.lock();
qCDebug(KDECONNECT_CONVERSATIONS) << "Requesting conversation with ID" << conversationID << "from remote";

View file

@ -50,7 +50,7 @@ public:
Q_ENUM(Roles)
qint32 threadId() const;
qint64 threadId() const;
void setThreadId(const qint64& threadId);
QString deviceId() const { return m_deviceId; }
@ -67,7 +67,7 @@ private:
DeviceConversationsDbusInterface* m_conversationsInterface;
QString m_deviceId;
qint64 m_threadId = INVALID_THREAD_ID;
QSet<qint32> knownMessageIDs;
QSet<qint32> knownMessageIDs; // Set of known Message uIDs
};
#endif // CONVERSATIONMODEL_H