Added setDisplayName RPC

This commit is contained in:
Caleb James DeLisle
2017-08-17 18:09:17 +02:00
parent 0b34ceb0eb
commit 2490ee253f
3 changed files with 26 additions and 1 deletions

View File

@@ -26,6 +26,12 @@ define([
});
};
funcs.setDisplayName = function (name, cb) {
ctx.sframeChan.query('Q_SETTINGS_SET_DISPLAY_NAME', name, function (err) {
if (cb) { cb(err); }
});
};
Object.freeze(funcs);
return { create: function (cb) {
nThen(function (waitFor) {