mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 09:26:14 -04:00
chat: Move .etherpad
import/export handling to chat.js
This commit is contained in:
parent
bc06ef87bb
commit
310a371234
4 changed files with 34 additions and 2 deletions
|
@ -50,7 +50,6 @@ exports.getPadRaw = async (padId, readOnlyId) => {
|
|||
})()];
|
||||
}
|
||||
for (let i = 0; i <= pad.head; ++i) yield [`${dstPfx}:revs:${i}`, pad.getRevision(i)];
|
||||
for (let i = 0; i <= pad.chatHead; ++i) yield [`${dstPfx}:chat:${i}`, pad.getChatMessage(i)];
|
||||
for (const gen of pluginRecords) yield* gen;
|
||||
})();
|
||||
const data = {[dstPfx]: pad};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue