add a unique id to user objects, define a getter

This commit is contained in:
ansuz
2017-03-24 12:17:49 +01:00
parent d1c32ea1f8
commit 40f5e1706f
2 changed files with 16 additions and 0 deletions

View File

@@ -44,6 +44,15 @@ define([
}
return;
};
var getUid = common.getUid = function () {
if (store) {
if (store.getProxy() && store.getProxy().proxy) {
return store.getProxy().proxy.uid;
}
}
};
var getRealtime = common.getRealtime = function () {
if (store) {
if (store.getProxy() && store.getProxy().info) {