[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - kit/ChildSession.cpp

Jan Holesovsky kendy at collabora.com
Mon Apr 24 18:07:56 UTC 2017


 kit/ChildSession.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit faf02e3d373c9a34c0451615e6c0f6e194cb8995
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Mon Apr 24 18:37:03 2017 +0200

    inactive: Replay the state payload, not the only the value.
    
    We need to replay 'client-0054 statechanged: .uno:StateWordCount=5 words, 30 characters',
    not 'client-0054 statechanged: 5 words, 30 characters'.
    
    Change-Id: Ifd1fc7d6d567bcf209dffdd826400f5a5248aa7e
    Reviewed-on: https://gerrit.libreoffice.org/36905
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 97a384a7..373d451f 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1006,7 +1006,7 @@ void ChildSession::rememberEventsForInactiveUser(const int type, const std::stri
         if (LOOLProtocol::parseNameValuePair(payload, name, value, '='))
         {
             auto lock(getLock());
-            _stateRecorder.recordState(name, value);
+            _stateRecorder.recordState(name, payload);
         }
     }
 }


More information about the Libreoffice-commits mailing list