X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/960e97bc122dd3cd020452038b0abb4781496042..bd485ec9f7b936feb3aad33f5587596e56f54397:/src/main/java/cli/Manager.java?ds=sidebyside diff --git a/src/main/java/cli/Manager.java b/src/main/java/cli/Manager.java index 3da46f1d..177cae78 100644 --- a/src/main/java/cli/Manager.java +++ b/src/main/java/cli/Manager.java @@ -1,16 +1,16 @@ /** * Copyright (C) 2015 AsamK - *

+ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - *

+ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - *

+ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -179,6 +179,10 @@ public class Manager { } } + public void handleEndSession(String source) { + axolotlStore.deleteAllSessions(source); + } + public interface ReceiveMessageHandler { void handleMessage(TextSecureEnvelope envelope); }