[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-0' - common/Protocol.hpp
Tor Lillqvist
tml at collabora.com
Tue Jan 10 13:01:26 UTC 2017
common/Protocol.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9436d2b00b957b1a94984f0487b6275246793edd
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Dec 14 17:23:42 2016 +0200
Add 'userinactive' to messages that don't indicate user interaction
In fact, it is more or less the opposite;)
Change-Id: I34eca0ed6b7d4ce369ae803eac542f0996d193eb
(cherry picked from commit 0bdac17fa6a5e7bf730b736af99d70fa0650b4a1)
diff --git a/common/Protocol.hpp b/common/Protocol.hpp
index 67f7ec7..6f2b50b 100644
--- a/common/Protocol.hpp
+++ b/common/Protocol.hpp
@@ -192,7 +192,8 @@ namespace LOOLProtocol
return (token.find("tile") == std::string::npos &&
token.find("status") == std::string::npos &&
- token.find("state") == std::string::npos);
+ token.find("state") == std::string::npos &&
+ token != "userinactive");
}
/// Returns the first line of a message.
More information about the Libreoffice-commits
mailing list