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

Support direct messages #11

Open
progval opened this issue Oct 23, 2021 · 9 comments
Open

Support direct messages #11

progval opened this issue Oct 23, 2021 · 9 comments
Labels
enhancement New feature or request
Milestone

Comments

@progval
Copy link
Owner

progval commented Oct 23, 2021

it's really hard, in Matrix they are actual rooms you can invite people to.

So currently, they are shown like a regular channel with a random name

@progval progval added the enhancement New feature or request label Oct 23, 2021
@progval progval added this to the Far future milestone Oct 23, 2021
@progval
Copy link
Owner Author

progval commented Feb 16, 2023

This might help: matrix-org/matrix-spec-proposals#2199

@Thaodan
Copy link
Contributor

Thaodan commented Feb 16, 2023

Is a sight effect of this issue that some rooms don't have titles? I noticed some rooms have this gibbering of a name that conversations get right now.

@progval
Copy link
Owner Author

progval commented Feb 16, 2023

Matrix rooms with a canonical alias (starting with #) are mapped to an IRC channel with that alias as name.

Some Matrix rooms don't have a canonical alias. These are usually DMs, but one doesn't entail the other. For these rooms, M51 uses the id, which is ! followed by a (usually) random string.

@Thaodan
Copy link
Contributor

Thaodan commented Feb 16, 2023 via email

@progval
Copy link
Owner Author

progval commented Feb 16, 2023

Names come with all sorts of issues: they contain spaces, aren't unique, are more likely to change than canonical aliases. That's why I prefer to use the id. As a workaround, you can define a canonical alias yourself for DM rooms

@Thaodan
Copy link
Contributor

Thaodan commented Feb 16, 2023 via email

@progval
Copy link
Owner Author

progval commented Feb 16, 2023

and for non-DM rooms as long as you're an admin. I chose to make M51 not have any database because in order to keep it from getting too complex, but this has some downsides like this

@ToxicFrog
Copy link
Contributor

Would it be possible to add the use of non-canonical names as an option, even if it's not the default? I don't mind if someone changing names invalidates all my DMs with them; that's the expected behaviour on IRC anyways.

@progval
Copy link
Owner Author

progval commented Jan 23, 2024

@ToxicFrog If this is implemented, it will appear as coming from their mxid (not their display name), which doesn't change anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants