mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 15:37:32 +00:00
Remove reset session button.
This commit is contained in:
@@ -275,20 +275,6 @@ public class SignalServiceMessageSender {
|
||||
sendMessage(localAddress, Optional.<UnidentifiedAccess>absent(), timestamp, syncMessage, false, null);
|
||||
}
|
||||
|
||||
// TODO [greyson][session] Delete this when we delete the button
|
||||
if (message.isEndSession()) {
|
||||
if (recipient.getUuid().isPresent()) {
|
||||
store.deleteAllSessions(recipient.getUuid().get().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