EionRobb / purple-mattermost

A libpurple/Pidgin plugin for Mattermost
GNU General Public License v3.0
93 stars 23 forks source link

Provide a way to add account through telepathy-haze (Empathy) #123

Closed vjcalel closed 4 years ago

vjcalel commented 4 years ago

Telepathy haze provides integration for telepathy purple. Other similar purple plugins like skype4pidgin, slack-libpurple works perfectly.

However when trying to add a mattermost account through Empathy (Gnome gtk client) it shows only Account dialog and nothing else as shown below.

image

Perhaps a strip down version can be added to ui just for enabling the account excluding all other advanced options found in pidgin, telepathy haze doesn't support all the options any way.

EionRobb commented 4 years ago

Looks like an issue with telepathy-haze, that it's not pulling out all the fields that the prpl provides, nor handling the "user splits" api that is used for the username.

As a workaround you could try setting your username as what the prpl would expect the UI to provide after it's finished with the user splits api, which is email@address.blah|server.name.here (i.e. pipe char separating the username and server address)

You're probably going to have a really bad experience though using Empathy though, as telepathy-haze only supports one-to-one IM's and not group chats (not just for the mattermost prpl, for all prpls)

vjcalel commented 4 years ago

Thanks. That worked!! I used myuser@email.com|server.mattermost.com format and it worked. Through for 1 to 1 conversation it automatically open the window after receiving chat, completely by-passing messaging menu (using Ubuntu Unity 18.04) indicator. But that's separate issue. Thanks.