mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Implement JsonRpc command for updateGroup
Co-authored-by: technillogue <technillogue@gmail.com> Closes #666
This commit is contained in:
parent
b09677a46c
commit
6826e3cb49
6 changed files with 84 additions and 90 deletions
|
@ -63,7 +63,9 @@ public class QuitGroupCommand implements LocalCommand {
|
|||
try {
|
||||
final var results = m.sendQuitGroupMessage(groupId,
|
||||
groupAdmins == null ? Set.of() : new HashSet<>(groupAdmins));
|
||||
handleTimestampAndSendMessageResults(writer, results.first(), results.second());
|
||||
final var timestamp = results.first();
|
||||
writer.println("{}", timestamp);
|
||||
handleTimestampAndSendMessageResults(results.second());
|
||||
} catch (NotAGroupMemberException e) {
|
||||
logger.info("User is not a group member");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue