wsd/DocumentBroker.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit eb6508061dbd03becec66e8d927c9439b10c1a43
Author:     Ashod Nakashian <[email protected]>
AuthorDate: Tue Nov 19 09:19:21 2019 -0500
Commit:     Michael Meeks <[email protected]>
CommitDate: Tue Nov 19 16:07:18 2019 +0100

    wsd: notify clients of WOPI CONFLICT response
    
    Change-Id: I7ad7d88066af7f2bba7fd3307c688ab85ba561eb
    Reviewed-on: https://gerrit.libreoffice.org/83216
    Reviewed-by: Michael Meeks <[email protected]>
    Tested-by: Michael Meeks <[email protected]>

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index c8b0e811d..6b393d277 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1040,7 +1040,8 @@ bool DocumentBroker::saveToStorageInternal(const 
std::string& sessionId, bool su
         oss << "error: cmd=storage kind=" << (isRename ? "renamefailed" : 
"savefailed");
         it->second->sendTextFrame(oss.str());
     }
-    else if (storageSaveResult.getResult() == 
StorageBase::SaveResult::DOC_CHANGED)
+    else if (storageSaveResult.getResult() == 
StorageBase::SaveResult::DOC_CHANGED
+             || storageSaveResult.getResult() == 
StorageBase::SaveResult::CONFLICT)
     {
         LOG_ERR("PutFile says that Document changed in storage");
         _documentChangedInStorage = true;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to