Added RPC setPadTitleInDrive()

This commit is contained in:
Caleb James DeLisle
2017-08-17 17:34:08 +02:00
parent 3b5af3ea74
commit 0b34ceb0eb
4 changed files with 19 additions and 5 deletions

View File

@@ -65,6 +65,12 @@ define([
}
});
sframeChan.on('Q_SET_PAD_TITLE_IN_DRIVE', function (newTitle, cb) {
Cryptpad.renamePad(newTitle, undefined, function (err) {
if (err) { cb('ERROR'); } else { cb(); }
});
});
CpNfOuter.start({
sframeChan: sframeChan,
channel: secret.channel,