mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-20 23:54:21 +01:00
Implement JsonRpc command for updateGroup
Co-authored-by: technillogue <technillogue@gmail.com> Closes #666
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user