mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 20:40:38 +00:00
clean up diff
This commit is contained in:
parent
b5fd2f920d
commit
a1f9597aa3
3 changed files with 8 additions and 2 deletions
|
@ -1698,7 +1698,13 @@ public class Manager implements Closeable {
|
|||
cachedMessage.delete();
|
||||
}
|
||||
|
||||
public void receiveMessagesAndReadStdin(long timeout, TimeUnit unit, boolean returnOnTimeout, boolean ignoreAttachments, ReceiveMessageHandler handler) throws IOException {
|
||||
public void receiveMessagesAndReadStdin(
|
||||
long timeout,
|
||||
TimeUnit unit,
|
||||
boolean returnOnTimeout,
|
||||
boolean ignoreAttachments,
|
||||
ReceiveMessageHandler handler
|
||||
) throws IOException {
|
||||
retryFailedReceivedMessages(handler, ignoreAttachments);
|
||||
final SignalServiceMessageReceiver messageReceiver = getMessageReceiver();
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.io.IOException;
|
|||
import java.nio.charset.Charset;
|
||||
import java.util.List;
|
||||
import java.util.Arrays;
|
||||
|
||||
import static org.asamk.signal.util.ErrorUtils.handleAssertionError;
|
||||
|
||||
public class SendCommand implements DbusCommand {
|
||||
|
|
|
@ -4,7 +4,6 @@ import com.fasterxml.jackson.annotation.JsonInclude;
|
|||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import org.asamk.Signal;
|
||||
//import org.whispersystems.signalservice.api.messages.SignalServiceTypingMessage;
|
||||
import org.asamk.signal.manager.Manager;
|
||||
import org.whispersystems.signalservice.api.messages.SignalServiceContent;
|
||||
import org.whispersystems.signalservice.api.messages.SignalServiceEnvelope;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue