bqv/weechat-slack

Tab-complete nicknames into mentions

Opened this issue · 2 comments

Taking an example user rms with the display name richards, if you start typing ric and press tab, it will complete to richards: in plain text. Either when the message is sent, or when the tab completion happens, if this was instead changed to @rms, this would correctly turn it into a mention on Slack

Related WeeChat issue: weechat/weechat#650.

bqv commented

The deeper issue here is frankly that Slack is an abhorrent mess. What needs to be done, is display_names need to somehow be translated to user IDs manually before sending rather than relying on the API for message formatting, since usernames are effectively a dead concept in slack (see also: #12).

I am actually honestly not sure how to approach this yet, so I'll deal with it later.