1. 12 Sep, 2014 3 commits
    • JC Brand's avatar
      Properly remove chat room occupants who leave. · c04ed35b
      JC Brand authored
      c04ed35b
    • JC Brand's avatar
      Give chatroom's occupants view a ref to the chatroom view · fa2ff46c
      JC Brand authored
      and thereby fix bug with directInvites.
      fa2ff46c
    • JC Brand's avatar
      Refactor chat rooms. · 450ce04f
      JC Brand authored
      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).
      450ce04f
  2. 07 Sep, 2014 2 commits
  3. 06 Sep, 2014 13 commits
  4. 05 Sep, 2014 3 commits
  5. 04 Sep, 2014 1 commit
  6. 03 Sep, 2014 7 commits
  7. 02 Sep, 2014 3 commits
  8. 01 Sep, 2014 1 commit
  9. 31 Aug, 2014 7 commits