purple-mattermost icon indicating copy to clipboard operation
purple-mattermost copied to clipboard

Joining a channel from Spectrum2 doesn’t work

Open linkmauve opened this issue 7 years ago • 36 comments

When I join a channel from Spectrum2 I’d expect to see the users who are already present there and interact with them.

Instead, first of all there is no discovery or automated invite sent to the user when they first register to the gateway, as well as no information about the format of the mapped JID, and then both mm_join_chat() and mm_chat_info_defaults() don’t get called.

I did modify the g_strsplit_set() call in mm_chat_info_defaults() to avoid using '/' as a separator, which isn’t something representable in the localpart of a JID, but I’m not even sure it’s the way I should interact with the gateway.

In any case, after I join a room, I see myself in it, without any other participant, and shortly after receive a roster push with my nick in the room, which is definitely not something that should happen.

At some point I did receive messages sent from participants in the channel, but as if they were sent to me in private, and it added them to my roster both on XMPP and on the web UI, without me actually doing anything, just after they spoke.

So this whole thing is a mess, I’m probably doing something wrong, but this prpl too. :)

I can attach logs of me doing anything you want if that may help.

Thanks.

linkmauve avatar Jul 12 '17 21:07 linkmauve