Skip to content

Conversation

@nickvergessen
Copy link
Member

Fix #8054

cc @jld3103

@nickvergessen nickvergessen added 3. to review bug feature: chat 💬 Chat and system messages feature: api 🛠️ OCS API for conversations, chats and participants feature: meetings 📅 Covering the webinary usecase incl. Lobby feature: search 🔎 labels Sep 30, 2022
@nickvergessen nickvergessen added this to the 💟 Next Major (26) milestone Sep 30, 2022
@nickvergessen nickvergessen self-assigned this Sep 30, 2022
@nickvergessen
Copy link
Member Author

nickvergessen commented Sep 30, 2022

/backport 0710aa0 to stable25

@nickvergessen
Copy link
Member Author

nickvergessen commented Sep 30, 2022

/backport 0710aa0 to stable24

@nickvergessen
Copy link
Member Author

nickvergessen commented Sep 30, 2022

/backport 0710aa0 to stable23

}

if ($room->getLobbyState() !== Webinary::LOBBY_NONE) {
$participant = $room->getParticipant($user->getUID(), false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the order of different to the if clause above and split into two parts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because in the Current it's a one-time thing, so it does not matter as much, while here we would potentially set up your user in hundreds of conversations even if they don't have a lobby in the end.

Copy link
Contributor

@vitormattos vitormattos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that is important to create an issue to implement integration tests covering this scenario

@nickvergessen nickvergessen force-pushed the bugfix/8054/dont-search-lobbied-conversations branch from 1493217 to 87f8ec1 Compare September 30, 2022 15:13
@nickvergessen nickvergessen merged commit 40bbcda into master Sep 30, 2022
@nickvergessen nickvergessen deleted the bugfix/8054/dont-search-lobbied-conversations branch September 30, 2022 20:13
@nickvergessen
Copy link
Member Author

/backport to stable25

@backportbot-nextcloud
Copy link

The backport to stable25 failed. Please do this backport manually.

@nickvergessen
Copy link
Member Author

/backport to stable25

@backportbot-nextcloud
Copy link

The backport to stable25 failed. Please do this backport manually.

@nickvergessen
Copy link
Member Author

/backport 0710aa0 to stable25

@nickvergessen
Copy link
Member Author

/backport 0710aa0 to stable24

@backportbot-nextcloud
Copy link

The backport to stable25 failed. Please do this backport manually.

@nickvergessen
Copy link
Member Author

/backport 0710aa0 to stable23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release bug feature: api 🛠️ OCS API for conversations, chats and participants feature: chat 💬 Chat and system messages feature: meetings 📅 Covering the webinary usecase incl. Lobby feature: search 🔎

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Messages from a room with a lobby can still be found when searching for them

4 participants