loolwsd: after comment operation update status

send status after performing any comment operation,
updating status send page dimensions,
which help in canvas layer to resize actual page size
without updating page size comments may go out of view
and will also not be scrollable into view

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I489648bb5ccd7223746fea42050088e078046a1a
pull/1955/head
Pranam Lashkari 2021-04-08 21:09:05 +05:30 committed by Szymon Kłos
parent 435ec0941f
commit a2757f3a47
1 changed files with 3 additions and 0 deletions

View File

@ -2666,8 +2666,11 @@ void ChildSession::loKitCallback(const int type, const std::string& payload)
sendTextFrame("redlinetablemodified: " + payload);
break;
case LOK_CALLBACK_COMMENT:
{
sendTextFrame("comment: " + payload);
getStatus("", 0);
break;
}
case LOK_CALLBACK_INVALIDATE_HEADER:
sendTextFrame("invalidateheader: " + payload);
break;