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

Connections from IRC don't autocomplete #2

Open
rodneyrod opened this issue Jan 5, 2018 · 2 comments
Open

Connections from IRC don't autocomplete #2

rodneyrod opened this issue Jan 5, 2018 · 2 comments

Comments

@rodneyrod
Copy link

Users who are connected via a bridge are displayed e.g. freenode_ and the autocomplete takes a bit to get to.
Would it be possible to reverse the schema e.g. _freenode?

@baines
Copy link
Owner

baines commented Jan 7, 2018

The IRC nicks are currently just taken from the first part of the matrix user id, and I guess the appservice-irc bridge assigns people on freenode a @freenode_nick:something matrix id.

Morpheus could swap the nick and freenode_ parts I suppose, but I'm not sure about adding special cases like that...

There is also a display_name property that could be used, but I initially avoided those since they don't have any unique constraints unlike IRC nicks.

@rodneyrod
Copy link
Author

As far as the display_name field goes, I think that could be an option to use. I think that's what purple-matrix over Bitlbee ends up defaulting to and if there are any name conflicts one of the idents gets a '' appended to the end (e.g. 'USER'), if there's a conflict there another '_' get's added so now it's 'USER__' and so on.

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

No branches or pull requests

2 participants