summaryrefslogtreecommitdiffstats
path: root/wsd
diff options
context:
space:
mode:
authorMert Tumer <mert.tumer@collabora.com>2021-07-22 17:08:10 +0300
committerMert Tümer <merttumer@outlook.com>2021-09-17 15:26:15 +0300
commitb12d91de675c978d5b24573d78b876c7aaae9a3b (patch)
tree16ab2e99b5ed124b23525ff2f148142519e02e32 /wsd
parentDon't populate font size combobox with select2 (diff)
downloadonline-b12d91de675c978d5b24573d78b876c7aaae9a3b.tar.gz
online-b12d91de675c978d5b24573d78b876c7aaae9a3b.zip
renamefile: Respond with reload instead
This way it will reload the document without getting additional errors like "this is embaressing.." and not timed out on large files due to retrying for a limited time. Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Change-Id: Ied341200ca21e1b7243daaf62813bc9ed69fecd3
Diffstat (limited to 'wsd')
-rw-r--r--wsd/DocumentBroker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index c8f1bd2e0e..7757d2bdfc 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1514,10 +1514,10 @@ void DocumentBroker::handleUploadToStorageResponse(const StorageBase::UploadResu
std::string encodedName;
Poco::URI::encode(filename, "", encodedName);
const std::string filenameAnonym = LOOLWSD::anonymizeUrl(filename);
-
std::ostringstream oss;
oss << "renamefile: " << "filename=" << encodedName << " url=" << url;
broadcastMessage(oss.str());
+ broadcastMessage("close: reloadafterrename");
}
else
{