Team chat randomly breaks when repeatedly forming/breaking teams, or inviting more members #1342

Closed
opened 2025-08-11 18:26:18 +00:00 by faffywaffle · 5 comments
Member

https://bytebin.project-rk.com/vPh3Zw2K

Reproduction steps

Problem 1:

  1. Repeatedly invite someone from lft, form team, then leave team
  2. Reform team by inviting same person from lft
  3. Repeat until team chat channel disappears off channel list for both people. Neither person can see/speak into the team chat channel
  4. This happens randomly, and typically takes between 3-8 attempts for it to occur

Problem 2:

  1. Form a team between 2 people
  2. Invite a 3rd person into the team
  3. 3rd person occasionally has their team channel disappear off their channel list. Or the 3rd person cannot see into the team chat channel, but they can speak into it such that the other 2 can hear them

Expected results

Team chat should work smoothly, with all members seeing/speaking into team channel regardless of how many people enter the team, or how many times the team is reformed. Also the team channel shouldn't disappear from the channel list unless you're not in a team

Actual results

Team chat breaks occasionally when more than 2 people are in team, or when team is reformed

Bug prevalence

Occasionally

Description & Attachments

Happens both when face-to-face inviting, and over LFT

### Report link https://bytebin.project-rk.com/vPh3Zw2K ### Reproduction steps Problem 1: 1. Repeatedly invite someone from lft, form team, then leave team 2. Reform team by inviting same person from lft 3. Repeat until team chat channel disappears off channel list for both people. Neither person can see/speak into the team chat channel 4. This happens randomly, and typically takes between 3-8 attempts for it to occur Problem 2: 1. Form a team between 2 people 2. Invite a 3rd person into the team 3. 3rd person occasionally has their team channel disappear off their channel list. Or the 3rd person cannot see into the team chat channel, but they can speak into it such that the other 2 can hear them ### Expected results Team chat should work smoothly, with all members seeing/speaking into team channel regardless of how many people enter the team, or how many times the team is reformed. Also the team channel shouldn't disappear from the channel list unless you're not in a team ### Actual results Team chat breaks occasionally when more than 2 people are in team, or when team is reformed ### Bug prevalence Occasionally ### Description & Attachments Happens both when face-to-face inviting, and over LFT
faffywaffle added the
type
bug
state
new
labels 2025-08-11 18:26:18 +00:00
madcow added
state
verified
and removed
state
new
labels 2025-08-11 18:39:22 +00:00
Member

I'm adding label "verified" without having 100% steps on how to reproduce it, or rather; we can't identify what EXACTLY breaks the team chat for this...

image

image

Obviously only workaround for this is to relog, and then it still might happen completely random when reconnected.

I'm adding label "verified" without having 100% steps on how to reproduce it, or rather; we can't identify what EXACTLY breaks the team chat for this... ![image](/attachments/96f4a94e-2a56-4688-8f01-79eb4c111acd) ![image](/attachments/8d05b128-848b-4bab-8000-366e4332d72d) Obviously only workaround for this is to relog, and then it still might happen completely random when reconnected.
madcow added the
priority
2
area
teams
labels 2025-08-11 18:48:44 +00:00
Owner

I think there is some race conditions between when team disband and team created events are handled. I think its handling the TeamCreated before TeamDisbanded.

So the client is lastly dropping the team channel, when it should drop team channel first and THEN handle TeamCreated.

I think there is some race conditions between when team disband and team created events are handled. I think its handling the TeamCreated before TeamDisbanded. So the client is lastly dropping the team channel, when it should drop team channel first and THEN handle TeamCreated.
Owner

A potential fix should be out there.

A potential fix should be out there.
portaler added
state
fixed
and removed
state
verified
labels 2025-08-11 23:58:50 +00:00
Author
Member

We've tested this again, but the same problems still persist with no change.

We've tested this again, but the same problems still persist with no change.
Author
Member

Problem 2 has been completely fixed (3rd and 4th members can chat fine)

Problem 1 occasionally crops up, but can be fixed by reforming team. Problem 1 only occurs when first forming a team: only the leader and invitee will have their team channels broken. Any subsequent team members (member #3, #4, etc) are not affected

Closing since it's more or less fixed. TLDR: if your team chat is broken, just reform

Problem 2 has been completely fixed (3rd and 4th members can chat fine) Problem 1 occasionally crops up, but can be fixed by reforming team. Problem 1 only occurs when first forming a team: only the leader and invitee will have their team channels broken. Any subsequent team members (member #3, #4, etc) are not affected Closing since it's more or less fixed. TLDR: if your team chat is broken, just reform
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: prk/issues#1342
No description provided.