mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
Merge pull request #476 from Fang-/talk-web-unbind
Webtalk now drops unused subscriptions.
This commit is contained in:
commit
c663b95bfb
@ -1577,6 +1577,11 @@ module.exports = function(arg) {
|
||||
}
|
||||
if ((ref = res.data) != null ? (ref1 = ref.circle) != null ? ref1.nes : void 0 : void 0) {
|
||||
if (res.data.circle.nes.length === 0) {
|
||||
window.urb.drop(path, function(err, res) {
|
||||
if (err) {
|
||||
return console.log(err);
|
||||
}
|
||||
});
|
||||
console.log('trying for older than ' + begin);
|
||||
$this.listenStation(station, new Date(since - 6 * 3600 * 1000));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user