mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-10 09:24:24 +01:00
Don't send null message to self
This commit is contained in:
@@ -1104,9 +1104,11 @@ public class Manager implements Closeable {
|
||||
}
|
||||
}
|
||||
|
||||
SendMessageResult renewSession(RecipientId recipientId) throws IOException {
|
||||
void renewSession(RecipientId recipientId) throws IOException {
|
||||
account.getSessionStore().archiveSessions(recipientId);
|
||||
return sendNullMessage(recipientId);
|
||||
if (!recipientId.equals(getSelfRecipientId())) {
|
||||
sendNullMessage(recipientId);
|
||||
}
|
||||
}
|
||||
|
||||
public String getContactName(String number) throws InvalidNumberException {
|
||||
|
||||
Reference in New Issue
Block a user