xmpp.chapril.org-conversejs/src
JC Brand 450ce04fd9 Refactor chat rooms.
When re-attaching to an existing session, chat rooms are fetched from
sessionStorage and we join them again.

However, unless we send a presence of type unavailable before reloading the
page, from the XMPP server's perspective we never left the chat room.

It therefore doesn't send us again the room occupants or room messages.

To send a presence of type unavailable is a hack and not desireable. Rather, we
want to stay in the room and just re-attach to it upon page reload.
In order to do this, we need some new functionality.

* Refactor the chat room sidebar into a new Backbone Model/View combo. (done).
* Store/fetch room occupants in/from sessionStorage (done).
* Store/fetch room messages in/from sessionStorage (not yet done).
* Instead of re-joining a chat room which we never left, just register the event handlers again. (not yet done).
2014-09-12 15:30:28 +02:00
..
templates Refactor chat rooms. 2014-09-12 15:30:28 +02:00
bigint.js Don't throw an error when no CSPRNG 2014-08-05 17:29:11 +02:00
build-no-locales-no-otr.js Made new builds containing room invite feature. fixes #215 2014-09-03 18:02:12 +02:00
build-no-otr.js Made new builds containing room invite feature. fixes #215 2014-09-03 18:02:12 +02:00
build-website-no-otr.js Made new builds containing room invite feature. fixes #215 2014-09-03 18:02:12 +02:00
build-website.js Made new builds containing room invite feature. fixes #215 2014-09-03 18:02:12 +02:00
build.js Made new builds containing room invite feature. fixes #215 2014-09-03 18:02:12 +02:00
crypto.js Create 3 different builds. 2013-11-17 16:55:38 +02:00
deps-full.js Add typeahead.js as dependency and integrate. updates #215. 2014-08-26 19:59:48 +02:00
deps-no-otr.js Add typeahead.js as dependency and integrate. updates #215. 2014-08-26 19:59:48 +02:00
deps-website-no-otr.js Add typeahead.js as dependency and integrate. updates #215. 2014-08-26 19:59:48 +02:00
deps-website.js Add typeahead.js as dependency and integrate. updates #215. 2014-08-26 19:59:48 +02:00
jquery.eventemitter.js Add jquery.eventemitter 2013-12-15 15:51:12 +02:00
otr.js Override otr.js so that we can fallback gracefully on IE 2014-08-05 16:59:38 +02:00
templates.js Refactor chat rooms. 2014-09-12 15:30:28 +02:00
utils.js Rename jquery.fastLiveSearch.js to utils.js and regenerate 2014-08-08 20:18:42 +02:00