diff --git a/src/persistence/history.cpp b/src/persistence/history.cpp index 325a3fc71..bd0c2870d 100644 --- a/src/persistence/history.cpp +++ b/src/persistence/history.cpp @@ -942,7 +942,6 @@ void History::addNewFileMessage(const ToxPk& friendPk, const QString& fileId, std::weak_ptr weakThis = shared_from_this(); FileDbInsertionData insertionData; - insertionData.friendPk = friendPk; insertionData.fileId = fileId; insertionData.fileName = fileName; insertionData.filePath = filePath; diff --git a/src/persistence/history.h b/src/persistence/history.h index 52679b3f6..ea07e9f15 100644 --- a/src/persistence/history.h +++ b/src/persistence/history.h @@ -116,7 +116,6 @@ struct FileDbInsertionData FileDbInsertionData(); RowId historyId; - ToxPk friendPk; QString fileId; QString fileName; QString filePath;