mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 08:08:33 +00:00
Remove P2P group change sending.
This commit is contained in:
parent
eff564ad88
commit
11fffbd79e
@ -1072,16 +1072,10 @@ public class SignalServiceMessageSender {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static GroupContextV2 createGroupContent(SignalServiceGroupV2 group) {
|
private static GroupContextV2 createGroupContent(SignalServiceGroupV2 group) {
|
||||||
GroupContextV2.Builder builder = GroupContextV2.newBuilder()
|
return GroupContextV2.newBuilder()
|
||||||
.setMasterKey(ByteString.copyFrom(group.getMasterKey().serialize()))
|
.setMasterKey(ByteString.copyFrom(group.getMasterKey().serialize()))
|
||||||
.setRevision(group.getRevision());
|
.setRevision(group.getRevision())
|
||||||
|
.build();
|
||||||
byte[] signedGroupChange = group.getSignedGroupChange();
|
|
||||||
if (signedGroupChange != null) {
|
|
||||||
builder.setGroupChange(ByteString.copyFrom(signedGroupChange));
|
|
||||||
}
|
|
||||||
|
|
||||||
return builder.build();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<DataMessage.Contact> createSharedContactContent(List<SharedContact> contacts) throws IOException {
|
private List<DataMessage.Contact> createSharedContactContent(List<SharedContact> contacts) throws IOException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user