mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
f97543eecd
commit
91e0db185c
1 changed files with 1 additions and 1 deletions
|
@ -415,9 +415,9 @@ public class SignalAccount implements Closeable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeRecipient(final RecipientId recipientId) {
|
public void removeRecipient(final RecipientId recipientId) {
|
||||||
|
final var recipientAddress = getRecipientStore().resolveRecipientAddress(recipientId);
|
||||||
getRecipientStore().deleteRecipientData(recipientId);
|
getRecipientStore().deleteRecipientData(recipientId);
|
||||||
getMessageCache().deleteMessages(recipientId);
|
getMessageCache().deleteMessages(recipientId);
|
||||||
final var recipientAddress = getRecipientStore().resolveRecipientAddress(recipientId);
|
|
||||||
if (recipientAddress.serviceId().isPresent()) {
|
if (recipientAddress.serviceId().isPresent()) {
|
||||||
final var serviceId = recipientAddress.serviceId().get();
|
final var serviceId = recipientAddress.serviceId().get();
|
||||||
getAciSessionStore().deleteAllSessions(serviceId);
|
getAciSessionStore().deleteAllSessions(serviceId);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue