Open rodneyrod opened 6 years ago
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.
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.
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?