Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(qchat): allow to see registered users only if self registered #227

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions qtribu/gui/dck_qchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,15 @@ def on_list_users_button_clicked(self) -> None:
"""
Action called when the list users button is clicked
"""
if self.settings.qchat_incognito_mode:
QMessageBox.warning(
self,
self.tr("Registered users"),
self.tr(
"You're using incognito mode. Please disable it to see registered users."
),
)
return
try:
users = self.qchat_client.get_registered_users(self.current_room)
QMessageBox.information(
Expand Down
Loading