kk
This commit is contained in:
parent
d46249d1de
commit
90dbde1092
@ -65,7 +65,7 @@ module.exports = function(rssi){
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
))
|
)).then(r=>event.reply("Refreshed all Feeds"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
2
db.js
2
db.js
@ -26,7 +26,7 @@ module.exports = function(name){
|
|||||||
let res = this.db.get("chats").find({id:cid}).value();
|
let res = this.db.get("chats").find({id:cid}).value();
|
||||||
if(res) return resolve(res);
|
if(res) return resolve(res);
|
||||||
|
|
||||||
this.db.get("chats").push({id:cid, tracking:[]}).write();
|
this.db.get("chats").push({id:cid, tracking:0}).write();
|
||||||
res = this.db.get("chats").find({id:cid}).value();
|
res = this.db.get("chats").find({id:cid}).value();
|
||||||
if(res) return resolve(res);
|
if(res) return resolve(res);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user