Skip to content

Fix Quick Switcher RangeError#1026

Merged
Airyzz merged 1 commit into
commetchat:mainfrom
haesemeyer-gh:main
Jul 21, 2026
Merged

Fix Quick Switcher RangeError#1026
Airyzz merged 1 commit into
commetchat:mainfrom
haesemeyer-gh:main

Conversation

@haesemeyer-gh

Copy link
Copy Markdown
Contributor

This fixes a bug with the quick switcher.
When opening the quick switcher, it is supposed to list the 4 most recent rooms. However, if you are a member <4 rooms, it would throw a RangeError and display a giant empty square without an error message to the user.

@Airyzz
Airyzz merged commit ea35396 into commetchat:main Jul 21, 2026
6 checks passed
@Airyzz

Airyzz commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

nice, thank you!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants