Commit 87cfc334 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

datatransfer: don't encode paths using locale

- as of https://review.jami.net/c/ring-daemon/+/12463 this is not
  required and will break file transfers on windows

Change-Id: I07887c9edfea10d37b9c86a42b257b862d62d903
parent b3e2a629
......@@ -657,8 +657,8 @@ public Q_SLOTS: // METHODS
dring_info.totalSize = lrc_info.totalSize;
dring_info.bytesProgress = lrc_info.bytesProgress;
dring_info.peer = lrc_info.peer.toStdString();
dring_info.displayName = lrc_info.displayName.toLocal8Bit().constData();
dring_info.path = lrc_info.path.toLocal8Bit().constData();
dring_info.displayName = lrc_info.displayName.toStdString();
dring_info.path = lrc_info.path.toStdString();
dring_info.mimetype = lrc_info.mimetype.toStdString();
return uint32_t(DRing::sendFile(dring_info, id));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment