1. 27 Feb, 2017 9 commits
  2. 26 Feb, 2017 1 commit
  3. 25 Feb, 2017 10 commits
  4. 24 Feb, 2017 9 commits
  5. 23 Feb, 2017 1 commit
  6. 22 Feb, 2017 1 commit
  7. 21 Feb, 2017 7 commits
  8. 20 Feb, 2017 2 commits
    • JC Brand's avatar
      Expand tests and found a bug in the process. · 7ae2e469
      JC Brand authored
      updates #785
      7ae2e469
    • JC Brand's avatar
      Updates #785 and #787 · 789654d5
      JC Brand authored
      Improve upon the previous implementation.
      
      If the resource with the highest priority goes offline or becomes unavailable,
      then the chat status of the contact must fall back to that of the resource with
      the next highest priority.
      
      In your example from #785, if the resource with priority 1 goes offline or
      becomes unavailable, then in your implementation the chat status would stay at
      online, although it must actually go to xa.
      
      The solution is to update the resources attribute on the contact to not just be
      an array or strings, but instead to be a map of resources to priorities and
      statuses and to use that data structure.
      789654d5