Discussion:
[prosody-dev] [PATCH] mod_muc_eventsource: history push support
senya
2018-02-20 19:42:39 UTC
Permalink
This patch adds optional feature to send history upon a new connection
to the EventSource node of a client.

Also instead of sending JSON object as it was in the original version,
patch changes the module to send actual XMPP stanzas via EventSource
because they contain more information (like timestamps) and this way it
is up to the client software to parse and use any part of the stanza.
This feels better than making assumptions about what data the client
wants to get.
--
You received this message because you are subscribed to the Google Groups "prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+***@googlegroups.com.
To post to this group, send email to prosody-***@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.
senya
2018-04-02 22:30:47 UTC
Permalink
Here is another version of the patch which supports reconnection of
EventSource clients.
--
You received this message because you are subscribed to the Google Groups "prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+***@googlegroups.com.
To post to this group, send email to prosody-***@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...