1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor(history): Remove unused friendPk from FileDbInsertionData

This commit is contained in:
Anthony Bilinski 2022-03-07 04:38:08 -08:00
parent fd2997c2db
commit 9145dc1cae
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
2 changed files with 0 additions and 2 deletions

View File

@ -942,7 +942,6 @@ void History::addNewFileMessage(const ToxPk& friendPk, const QString& fileId,
std::weak_ptr<History> weakThis = shared_from_this();
FileDbInsertionData insertionData;
insertionData.friendPk = friendPk;
insertionData.fileId = fileId;
insertionData.fileName = fileName;
insertionData.filePath = filePath;

View File

@ -116,7 +116,6 @@ struct FileDbInsertionData
FileDbInsertionData();
RowId historyId;
ToxPk friendPk;
QString fileId;
QString fileName;
QString filePath;