Remove the reset session button.

This commit is contained in:
Greyson Parrelli
2021-10-19 15:32:55 -04:00
parent f2cf77339e
commit 13ef53372e
4 changed files with 1 additions and 55 deletions

View File

@@ -346,19 +346,6 @@ public class SignalServiceMessageSender {
sendEvents.onSyncMessageSent();
// TODO [greyson][session] Delete this when we delete the button
if (message.isEndSession()) {
store.deleteAllSessions(recipient.getUuid().toString());
if (recipient.getNumber().isPresent()) {
store.deleteAllSessions(recipient.getNumber().get());
}
if (eventListener.isPresent()) {
eventListener.get().onSecurityEvent(recipient);
}
}
return result;
}