Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

private messages not handled unless connector initiates private chat #49

Open
jconnolly opened this issue Dec 8, 2011 · 0 comments
Open
Assignees

Comments

@jconnolly
Copy link
Contributor

STR:

  1. Go through the steps to get your API keys and username, and your device activated with your swarm. (http://ip/bugswarm, etc)
  2. load test.bugswarm.net, navigate to your device's feeds page
  3. restart felix/knapsack

ER:
the feeds continue to be sent

AR:
only the capabilities message is sent, the feeds are not.

After the presence drops off comes back up, as a result of felix restarting, and after capabilities are broadcast publicly by the bugconnector in the MUC, the webui issues a private message to the connector. The connector should be responding to these with the contents of the specfic selected feeds, but they're not.

The issue is here:

https://github.com/buglabs/bugswarm-connector/blob/master/com.buglabs.bug.swarm.connector/src/com/buglabs/bug/swarm/connector/xmpp/SwarmXMPPClient.java#L217

The PrivateMessageHandler is only spawned when the connector is the one creating the private chat. All other private messages go unhandled.

@ghost ghost assigned jconnolly Dec 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant