mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 13:48:08 +00:00
Fix number conversion on message timestamp.
This commit is contained in:
parent
7ef7e1a564
commit
ab4e9ff527
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ void ChatMessageModel::setTimestamp(const QDateTime& timestamp) {
|
|||
auto timeT = timestamp.toMSecsSinceEpoch();
|
||||
auto appData = AppDataManager(QString::fromStdString(getChatMessage()->getAppdata()));
|
||||
if(appData.mData["timestamp"].toLongLong() != timeT) {
|
||||
appData.mData["timestamp"] = timeT;
|
||||
appData.mData["timestamp"] = QString::number(timeT);
|
||||
getChatMessage()->setAppdata(appData.toString().toStdString());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue