mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Don't send null message to self
This commit is contained in:
parent
fa44f8b6a8
commit
2727487902
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
account.getSessionStore().archiveSessions(recipientId);
|
||||||
return sendNullMessage(recipientId);
|
if (!recipientId.equals(getSelfRecipientId())) {
|
||||||
|
sendNullMessage(recipientId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getContactName(String number) throws InvalidNumberException {
|
public String getContactName(String number) throws InvalidNumberException {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue