loolwsd: Send viewId to clients, not sessionId

This commit is contained in:
Pranav Kant 2016-08-25 21:10:47 +05:30
parent 620b322bd2
commit ec6ddf91ba

View file

@ -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)