Signal-iOS/SignalServiceKit
Jordan Rose 73fdd49d9a Use conversation state to decide if the user can ring a group at first
- Refactor the enum RingMode into an option set RingRestrictions
- Keep track of whether the call is empty in RingRestrictions rather
  than by directly inspecting peek info every time
- Set the initial callInProgress restriction by looking for unended
  calls in the database (the same thing used to show the "Join Call"
  button in the conversation view)
- Use the more-reliable callInProgress restriction everywhere we need
  to check if there's a call in progress
- If we think there's a call in progress but don't have peek info,
  wait until we get peek info to show status text in the call lobby

This provides a more orthogonal model for ring restrictions, which is
important for tracking "group too large" and "call in progress"
independently. Either can change but the state of the other still
determines how the UI should be updated.
2022-08-29 13:35:27 -07:00
..
protobuf Remove unused relay field from envelope proto 2022-07-29 11:35:55 -05:00
Resources Durable jobs for leaving groups 2022-08-26 13:13:23 -07:00
src Use conversation state to decide if the user can ring a group at first 2022-08-29 13:35:27 -07:00
tests Update libPhoneNumber-iOS 2022-08-28 15:31:06 +00:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
SignalServiceKit-Prefix.pch SignalServiceKit: no longer a separate pod 2022-08-05 16:14:15 -05:00
SignalServiceKit.h Durable jobs for leaving groups 2022-08-26 13:13:23 -07:00