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

add graphical option to add contacts (create private chats) #871

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

MoKe12g
Copy link

@MoKe12g MoKe12g commented May 17, 2023

Adds an option to the menu to create a private chat as wished in #845.

refactored openUserInput into openRoomUserInput to make it clear, what this function does
added NoRoomJoining into openRoomAction to make it clear, what the function is intended to do
@MoKe12g MoKe12g marked this pull request as draft May 17, 2023 13:46
@MoKe12g MoKe12g marked this pull request as ready for review May 18, 2023 01:36
Copy link
Member

@KitsuneRal KitsuneRal left a comment

Choose a reason for hiding this comment

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

Thanks, and sorry for taking time to review. The existing Open room... dialog supports entering user ids too. Besides, Open room... supports matrix: URIs and matrix.to URLs. I recognise it's not quite discoverable - happy to get suggestions how to improve that. I can understand that having a separate dialog restricted to user ids might be the best solution - but then please extend openUserInput() instead of duplicating most of its code. Turning a bool parameter to an enum and having two or three extra conditionals is totally fine for that matter.

@MoKe12g MoKe12g marked this pull request as draft June 16, 2023 14:58
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