mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Rename internal quitGroup method
This commit is contained in:
parent
7f64a9812c
commit
cd3741d236
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ public class QuitGroupCommand implements JsonRpcLocalCommand {
|
|||
|
||||
try {
|
||||
try {
|
||||
final var results = m.sendQuitGroupMessage(groupId, groupAdmins);
|
||||
final var results = m.quitGroup(groupId, groupAdmins);
|
||||
final var timestamp = results.getTimestamp();
|
||||
outputResult(outputWriter, timestamp);
|
||||
handleSendMessageResults(results.getResults());
|
||||
|
|
|
@ -420,7 +420,7 @@ public class DbusSignalImpl implements Signal {
|
|||
public void quitGroup(final byte[] groupId) {
|
||||
var group = getGroupId(groupId);
|
||||
try {
|
||||
m.sendQuitGroupMessage(group, Set.of());
|
||||
m.quitGroup(group, Set.of());
|
||||
} catch (GroupNotFoundException | NotAGroupMemberException e) {
|
||||
throw new Error.GroupNotFound(e.getMessage());
|
||||
} catch (IOException | LastGroupAdminException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue