Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Apr 16, 2020

Steps

  1. In Tab 1 open a conversation as User A and join the call
  2. In Window 2 open the same conversation as User B and join the call
  3. In Tab 2 or Device 2 open the conversation as User 1 and leave it again
  4. 💥
  • Based on "409 Conflict" on joining a second time in the same conversation #3591
  • addParticipantOnce used a wrong check to see if a user already exists.
  • Internal signaling stops the signaling query and is just silent from there on in the old tab
  • External signaling is in limbo state and people joining later will get a different set of participants compared to users that were online all the time

@nickvergessen nickvergessen added 2. developing bug feature: api 🛠️ OCS API for conversations, chats and participants feature: signaling 📶 Internal and external signaling backends labels Apr 16, 2020
@nickvergessen nickvergessen added this to the 💚 Next Major (19) milestone Apr 16, 2020
@nickvergessen
Copy link
Member Author

Internal signaling

Bildschirmfoto von 2020-04-16 16-26-32

btw the OC.dialogs.confirmDestructive could really use a blurred/overlayed background as nothing should be done until it has been dealt with.

Note: This uses the browsers sessionStorage not the browserStorage.
As per https://stackoverflow.com/q/20325763 this is NOT shared between tabs.
For us this is the solution we were looking for, as it allows us to
identify if a user reloaded a conversation in the same tab,
or entered it in another tab.

Signed-off-by: Joas Schilling <[email protected]>
404: now redirects to /not-found
*: now retries after 10 seconds and shows an error
   and give up after 5 minutes recommending a reload

Signed-off-by: Joas Schilling <[email protected]>
@nickvergessen nickvergessen force-pushed the bugfix/noid/participant-collision-on-updates branch from 32efc49 to 213a92a Compare May 29, 2020 09:08
@nickvergessen
Copy link
Member Author

Now merged into #3591

@nickvergessen nickvergessen deleted the bugfix/noid/participant-collision-on-updates branch June 15, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing bug feature: api 🛠️ OCS API for conversations, chats and participants feature: signaling 📶 Internal and external signaling backends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants