chore: only exclude activity chats from bot options update function if showActivityChatUI (#5773)

This commit is contained in:
ggurdin 2026-02-23 14:04:18 -05:00 committed by GitHub
parent c1b88c6dbd
commit acc8283269
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,7 @@ extension BotClientExtension on Client {
// bot settings exist
r.botOptions != null &&
// there is no activity plan
r.activityPlan == null &&
!r.showActivityChatUI &&
// it's just the bot and one other user in the room
r.summary.mJoinedMemberCount == 2 &&
r.getParticipants().any((u) => u.id == BotName.byEnvironment);