Move more networking stuff into SignalNetwork.

This commit is contained in:
Greyson Parrelli
2024-09-07 14:44:25 -04:00
committed by Cody Henthorne
parent e247d311d8
commit 7835b1d1fc
10 changed files with 61 additions and 15 deletions

View File

@@ -862,10 +862,6 @@ public class SignalServiceAccountManager {
return new GroupsV2Api(pushServiceSocket, groupsV2Operations);
}
public KeysApi getKeysApi() {
return KeysApi.create(pushServiceSocket);
}
public RegistrationApi getRegistrationApi() {
return new RegistrationApi(pushServiceSocket);
}

View File

@@ -213,10 +213,6 @@ public class SignalServiceMessageSender {
this.scheduler = Schedulers.from(executor, false, false);
}
public AttachmentApi getAttachmentApi() {
return AttachmentApi.create(webSocket, socket);
}
/**
* Send a read receipt for a received message.
*