cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
6 stars 2 forks source link

Send presence stanza on login #422

Closed sylae closed 7 years ago

sylae commented 8 years ago

Cadence currently seems to only send presence stanzas in the MUC context -- leaving and joining rooms. As there is now /dmsg support, it would be nice to allow people on third-party clients (like, say Conversations on their phone) to see whether or not a user in their roster is online or not, so they know if sending a non-MUC message will be delivered. untitled

sylae commented 8 years ago

Wait, I'm stupid. Cadence needs to let me subscribe to presence updates? I dunno how any of that works to be honest :package:

cburschka commented 8 years ago

Yeah, cadence doesn't currently have any way to handle contacts. It sends a presence broadcast which the server forwards to all your contacts (and vice versa) but there is no way to add/remove subscriptions, nor to show currently online contacts. It's part of the planned 3.0 stuff with tabbed rooms etc. (making it a full client and not just a single-room one).