diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-29 15:54:41 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-29 15:54:41 +0100 |
commit | 32b5b50dacb1bfc02a0baef0eda47df8d5f2be37 (patch) | |
tree | 5c78a038d57bbd13a72fe5db23ebbbdc8310bd93 /whiteboard.cpp | |
parent | 2992b537413d6f50303f5e146ca2705dbed6f7ce (diff) |
Fix webassembly/Makefile WASM optimization because allocateUTF8 was missing
Diffstat (limited to 'whiteboard.cpp')
-rw-r--r-- | whiteboard.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/whiteboard.cpp b/whiteboard.cpp index a49ef73..fcfdca8 100644 --- a/whiteboard.cpp +++ b/whiteboard.cpp @@ -107,7 +107,8 @@ void Whiteboard::notify_other_connections_diff(Whiteboard::connection& c, const boost::beast::flat_buffer buffer; pt::ptree ptree {make_ptree({ {"type", "getdiff"}, - {"revision", std::to_string(m_storage->getRevision(id)) } + {"revision", std::to_string(m_storage->getRevision(id))}, + {"pos", std::to_string(m_storage->getCursorPos(id)) } })}; ptree.put_child("serverinfo.diff", diff.get_structure().get_child("diff")); boost::beast::ostream(buffer) << Reichwein::XML::plain_xml(ptree); |