1. 29 Jul, 2019 2 commits
    • JC Brand's avatar
      Manually remove BOSH session tokens from cache · caad85f4
      JC Brand authored
      even if the `_converse.bosh_session` instance does not exist.
      
      We do this to avoid trying to reconnect with stale tokens upon
      reconnection. Especially relevant for anonymous connections, but could
      also be applicable when switching between websocket and BOSH connections
      when reconnecting.
      
      Also renamed `startNewBOSHSession` to `startNewPreboundBOSHSession`
      caad85f4
    • JC Brand's avatar
      Bugfix. Make sure that `restoreBOSHSession` is always called · f9cc51b2
      JC Brand authored
      I.e. also when we're reconnecting.
      
      Otherwise the `_converse.bosh_session` object doesn't get recreated and
      we don't cache the BOSH tokens.
      f9cc51b2
  2. 26 Jul, 2019 10 commits
  3. 25 Jul, 2019 4 commits
  4. 24 Jul, 2019 1 commit
  5. 23 Jul, 2019 5 commits
  6. 22 Jul, 2019 5 commits
  7. 12 Jul, 2019 4 commits
  8. 11 Jul, 2019 7 commits
  9. 10 Jul, 2019 2 commits
    • JC Brand's avatar
      Various bugfixes based on the previous refactoring. · 8a405ee8
      JC Brand authored
      These two commit should ideally be one, but I inadvertently pushed to
      remote too early.
      8a405ee8
    • JC Brand's avatar
      MUC: Don't send XEP-0085 CSNs when we don't have voice · ded9945e
      JC Brand authored
      Includes some refactoring:
      
      - Don't send an `active` chat state notification when entering a MUC
        I can't think of a good reason why this might be necessary or desired.
      - Move `setChatState` form the view to the model
      - Remove unused method `handleChatStateNotification`
      - Don't store `role` and `affiliation` for the current user on the
        ChatRoom object, but instead on the ChatRoomOccupant object representing
        the user.
      ded9945e