chore: only exclude activity chats from bot options update function if showActivityChatUI (#5773)
This commit is contained in:
parent
c1b88c6dbd
commit
acc8283269
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue