Refactor async-store to make it work with teams
This commit is contained in:
1 parent
a2edf5be64
commit
7222d34dc0
9 files changed
+138
-72
No files matched your search
+4
-2
@@ -71,12 +71,14 @@ define([
|
||||
});
|
||||
sframeChan.on('Q_DRIVE_GETOBJECT', function (data, cb) {
|
||||
if (data && data.sharedFolder) {
|
||||
Cryptpad.getSharedFolder(data.sharedFolder, function (obj) {
|
||||
Cryptpad.getSharedFolder({
|
||||
id: data.sharedFolder
|
||||
}, function (obj) {
|
||||
cb(obj);
|
||||
});
|
||||
return;
|
||||
}
|
||||
Cryptpad.getUserObject(function (obj) {
|
||||
Cryptpad.getUserObject(null, function (obj) {
|
||||
cb(obj);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user