Skip to content

Conversation

aturkenov
Copy link

@aturkenov aturkenov commented Sep 30, 2025

Maybe you already familiar with a wa.me/+7 (whatsapp) or t.me/+7 (telegram) links.
So this merge request starts direct chat with a recipient using http URL parameter ?direct=<matrix-user-id>.

  • Code formatting and import sorting has been done with dart format lib/ test/ and dart run import_sorter:main --no-comments
  • The commit message uses the format of Conventional Commits
  • The commit message describes what has been changed, why it has been changed and how it has been changed
  • Every new feature or change of the design/GUI is linked to an approved design proposal in an issue
  • Every new feature in the app or the build system has a strategy how this will be tested and maintained from now on for every release, e.g. a volunteer who takes over maintainership

Pull Request has been tested on:

  • Android
  • iOS
  • Browser (Chromium based)
  • Browser (Firefox based)
  • Browser (WebKit based)
  • Desktop Linux
  • Desktop Windows
  • Desktop macOS

Copy link
Owner

@krille-chan krille-chan left a comment

Choose a reason for hiding this comment

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

I see some problems with this solution:

  1. When refreshing the chat List for some reason, it would repeat the action, right?
  2. We should verify that the user ID is a valid matrix ID
  3. The query parameter ?direct is not very intuitive. Element uses a route for it.
  4. Instead of directly start a chat we should display the profile dialog so that the user can verify the correct user there and then tap on "Start chat".
  5. What happens if you are not logged in?

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