[Libreoffice-commits] online.git: loolwsd/LOOLKit.cpp
Pranav Kant
pranavk at collabora.co.uk
Thu Aug 25 15:41:25 UTC 2016
loolwsd/LOOLKit.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ec6ddf91baa3ea7281237ec508fde92306b91a3b
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Thu Aug 25 21:10:47 2016 +0530
loolwsd: Send viewId to clients, not sessionId
diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 897f033..b73779e 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -895,7 +895,7 @@ private:
for (const auto& pair : _connections)
{
assert(sessionId != pair.second->getSessionId() && "Unloading connection still lingering.");
- pair.second->getSession()->sendTextFrame("remview: " + sessionId);
+ pair.second->getSession()->sendTextFrame("remview: " + std::to_string(session.getViewId()));
}
if (_loKitDocument == nullptr)
More information about the Libreoffice-commits
mailing list