matrix2051 icon indicating copy to clipboard operation
matrix2051 copied to clipboard

Support direct messages

Open progval opened this issue 4 years ago • 9 comments

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 avatar Oct 23 '21 16:10 progval

This might help: https://github.com/matrix-org/matrix-spec-proposals/pull/2199

progval avatar Feb 16 '23 19:02 progval

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.

Thaodan avatar Feb 16 '23 19:02 Thaodan

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.

progval avatar Feb 16 '23 20:02 progval

I noticed some rooms are created with names but with a canonical alias, would it make sense to map the name in case there's no alias?

Regular Matrix Apps use the id but show the name.

It seems on the server I am some rooms never got this alias.

Thaodan avatar Feb 16 '23 21:02 Thaodan

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

progval avatar Feb 16 '23 21:02 progval

Val Lorentz @.***> writes:

As a workaround, you can define a canonical alias yourself for DM rooms

Only for dms I assume? It would be nice to be able to define an alias locally for any room similar to how bitlbee does it.

Thaodan avatar Feb 16 '23 21:02 Thaodan

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

progval avatar Feb 16 '23 22:02 progval

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.

ToxicFrog avatar Jan 23 '24 13:01 ToxicFrog

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

progval avatar Jan 23 '24 14:01 progval