1

Resolved

Contacts appearing offline and messages not sending

description

Hi,

I've recently installed this plugin as my team has moved to using Slack (http://slack.com).

It provides a Jabber gateway so I've configured this app to connect to that. The account is picked up with no problem but when I add contacts they perpetually appear offline. Sending them messages also does not work, although I can receive them. My messages do appear in the VsTalk conversation window when I send a message using another client.

Facebook seems to connect OK and I can see the availability of all my contacts however.

comments

gandhibobandhi wrote Oct 13, 2014 at 11:35 AM

It's also worth noting that I can communicate fine on channels (sending and receiving). It's just individual contacts I'm having this issue with.

Irdis wrote Oct 19, 2014 at 1:25 PM

Hello,
Sorry for delay response. Unfortunately I haven't had much time to move project forward lately. Nevertheless it's not completely frozen.

Currently I'm looking at this issue. My first impression is that slack uses xmpp gateway interaction (http://www.xmpp.org/extensions/xep-0100.html) which is not supported in vstalk. And it requires a bit of coding.

I'll notify you when I come up with something more concrete.

Irdis wrote Oct 19, 2014 at 3:48 PM

ok, got it. I was wrong about gateways.

Funny enough the problem is that the slack server will send contact list to a vstalk client only if the client replies properly about its version.
RECV: <iq xmlns="jabber:client" to="irdis@vstalk.xmpp.slack.com/cb6ce008-b48b-45f0-9f23-2dff82a0a4ec" id="version_1" type="get" from="slackbot@vstalk.xmpp.slack.com"><query xmlns="jabber:iq:version" /></iq>
!!!SEND: <iq type="result" id="version_1" to="slackbot@vstalk.xmpp.slack.com"><query xmlns="jabber:iq:version"><name>VSTalk</name><version>2.2.1</version></query></iq>
I've already had a fix. I'll update version soon.

Thank you for your feedback.