mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 00:23:40 +00:00
Clean
This commit is contained in:
parent
6d521e4227
commit
ecd60b8723
@ -473,11 +473,12 @@ public class PushDecryptJob extends BaseJob implements InjectableType {
|
||||
LokiThreadDatabase lokiThreadDatabase = DatabaseFactory.getLokiThreadDatabase(context);
|
||||
// sessionStore.deleteAllSessions(content.getSender());
|
||||
|
||||
Log.d("Loki", "Received a session reset request from: " + content.getSender() + "; archiving the session.");
|
||||
|
||||
sessionStore.archiveAllSessions(content.getSender());
|
||||
lokiThreadDatabase.setSessionResetStatus(threadId, LokiThreadSessionResetStatus.REQUEST_RECEIVED);
|
||||
|
||||
Log.d("Loki", "Received a session reset request from: " + content.getSender() + ".");
|
||||
|
||||
Log.d("Loki", "Sending a ping back to " + content.getSender() + ".");
|
||||
String contactID = DatabaseFactory.getThreadDatabase(context).getRecipientForThreadId(threadId).getAddress().toString();
|
||||
SignalServiceMessageSender messageSender = ApplicationContext.getInstance(context).communicationModule.provideSignalMessageSender();
|
||||
SignalServiceAddress address = new SignalServiceAddress(contactID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user