X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/6c000544072fb0be012dafeea5761fa9e0744ee4..5d8d0dcad688c493562f055627158d7300086424:/src/main/java/org/asamk/signal/commands/QuitGroupCommand.java diff --git a/src/main/java/org/asamk/signal/commands/QuitGroupCommand.java b/src/main/java/org/asamk/signal/commands/QuitGroupCommand.java index cb98e15a..0a0df346 100644 --- a/src/main/java/org/asamk/signal/commands/QuitGroupCommand.java +++ b/src/main/java/org/asamk/signal/commands/QuitGroupCommand.java @@ -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"); }