mirror of
https://github.com/overte-org/community-apps.git
synced 2025-08-04 19:17:09 +02:00
Reconnect to poll if application was closed.
This commit is contained in:
parent
4eea4a09f0
commit
39eed69596
1 changed files with 1 additions and 2 deletions
|
@ -59,9 +59,8 @@
|
|||
if (url == newUrl) {
|
||||
active = true;
|
||||
|
||||
// TODO: Is this needed?
|
||||
// If we are connected to a poll already, repopulate the screen
|
||||
// if (poll.id != '') return populateScreen();
|
||||
if (poll.id != '') return joinPoll({id: poll.id});
|
||||
|
||||
// Request a list of active polls if we are not already in one
|
||||
if (poll.id == '') return getActivePolls();
|
||||
|
|
Loading…
Reference in a new issue