From fd246f7e5aa6fa1012c22fa33cd87915260a10cb Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 1 Mar 2016 12:22:20 +0100 Subject: [PATCH] properly persist accepted crypto targets --- .../java/eu/siacs/conversations/ui/TrustKeysActivity.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java b/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java index 9bccca78b..cc4ba7b23 100644 --- a/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java @@ -10,8 +10,6 @@ import android.widget.LinearLayout; import android.widget.TextView; import android.widget.Toast; -import android.util.Log; - import org.whispersystems.libaxolotl.IdentityKey; import java.util.ArrayList; @@ -20,7 +18,6 @@ import java.util.List; import java.util.Map; import java.util.Set; -import eu.siacs.conversations.Config; import eu.siacs.conversations.R; import eu.siacs.conversations.crypto.axolotl.AxolotlService; import eu.siacs.conversations.crypto.axolotl.XmppAxolotlSession; @@ -301,9 +298,8 @@ public class TrustKeysActivity extends XmppActivity implements OnKeyStatusUpdate } } if (mConversation != null && mConversation.getMode() == Conversation.MODE_MULTI) { - Log.d(Config.LOGTAG,"commiting accepted crypto targets: "+acceptedTargets); mConversation.setAcceptedCryptoTargets(acceptedTargets); - //xmppConnectionService.updateConversation(mConversation); + xmppConnectionService.updateConversation(mConversation); } }