Signal-iOS/SignalServiceKit/src/Protocols
Jim Gustafson 6806bd4d9f Adjust protocol definitions
Added a new field destinationDeviceId to the protocol buffer for
CallMessage.

Added supporting logic of setting it when sending.

Added a catch when receiving: If the field is defined, then use it
and check the local deviceId and if not a match, drop the message
since it is not for this device.

Changed naming to be more explicit.

Removed the FeatureLevel definition from the protocol since proto enums
won't be backwards compatible if updated. Instead, adding boolean flags
instead. For this release, the feature supported is multi-ring, so a
multiRing flag is defined instead of a feature level.

The supportsMultiRing value is persisted through to RingRTC. There is
no more need to translate between the enumerations anymore.

Added prefix naming for proto enums since the namespace is shared.

Removed defaults since they are already the desired default values.

When sending messages, using a nullable unsigned integer type instead
of a flag and value pair. This simplifies the function calls, although
some NSNumber extensions were required on the Swift side.
2020-05-08 15:50:49 -07:00
..
ContactsManagerProtocol.h Overhaul "create new group" and "add group member" views. 2020-04-06 09:54:49 -03:00
NotificationsProtocol.h Cancel stale reaction notifications when the reaction is removed or replaced 2020-04-20 10:25:31 -07:00
OWSCallMessageHandler.h Adjust protocol definitions 2020-05-08 15:50:49 -07:00
ProfileManagerProtocol.h Avoid rate limits while doing profile fetches. 2020-04-15 17:03:33 -03:00
ProtoUtils.h Fix more build warnings. 2020-04-10 13:17:08 -03:00
ProtoUtils.m Whitelisting a group does not inherently approve all group members for profile sharing outside of the group. 2020-04-01 13:47:24 -07:00