mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Remove the reset session button.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user