mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-08-13 17:03:51 -04:00
Fix saving disco caps on first appearance
This commit is contained in:
parent
720e2c8640
commit
39bfb018ce
@ -46,7 +46,7 @@ var discoCapsQueue = async.queue(function (pres, cb) {
|
||||
log.info('Saving info for ' + caps.ver);
|
||||
var data = result.discoInfo.toJSON();
|
||||
app.storage.disco.add(caps.ver, data, function () {
|
||||
if (resource) resource.discoInfo = existing;
|
||||
if (resource) resource.discoInfo = data;
|
||||
cb();
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user