Add account name in metadata manager
This commit is contained in:
@@ -473,7 +473,7 @@ define([
|
||||
var titleCfg = { getHeadingText: getHeadingText };
|
||||
Title = Cryptpad.createTitle(titleCfg, realtimeOptions.onLocal, Cryptpad);
|
||||
var configTb = {
|
||||
displayed: ['userlist'],
|
||||
displayed: ['userlist', 'useradmin'],
|
||||
//title: Title.getTitleConfig(),
|
||||
userList: cpNfInner.metadataMgr,
|
||||
readOnly: readOnly,
|
||||
|
||||
@@ -47,6 +47,9 @@ define([
|
||||
profile: Cryptpad.getProfileUrl(),
|
||||
curvePublic: Cryptpad.getProxy().curvePublic,
|
||||
netfluxId: Cryptpad.getNetwork().webChannels[0].myID,
|
||||
},
|
||||
priv: {
|
||||
accountName: Cryptpad.getAccountName()
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -75,4 +78,4 @@ define([
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user