Open TronFortyTwo opened 7 years ago
Problem seems to be here: https://github.com/loqui/im/blob/dev/src/scripts/loqui/menu.js#L410 Must be fit for Ubuntu Touch...
Is it possible to pass a system command into that function closing LoquiIM (app id)?
@nfsprodriver it is not the killall function it is window.close() https://github.com/loqui/im/blob/dev/src/scripts/loqui/menu.js#L413
Right, the killall says to logout from all account (App.js), right?
yes. my guess that the req variable is undefined
var req = navigator.mozAlarms.getAll();
so the timer has never set.
So if it's not possible to make webcontainer call its closure, we should give a UI hint for that when button has been clicked.
If you press the button quit in the left panel, appear a banner on the top saying that LoquiM qill close soon, but then the banner disappear but the app doesn't close.