From 617425e7fffacc0a1fa035d0c61ad708aea989da Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 24 Aug 2017 10:09:16 +0200 Subject: [PATCH] link jid in trust keys activity to contact details --- .../java/eu/siacs/conversations/ui/TrustKeysActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java b/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java index c14e0961c..134417873 100644 --- a/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/TrustKeysActivity.java @@ -213,6 +213,12 @@ public class TrustKeysActivity extends OmemoActivity implements OnKeyStatusUpdat final LinearLayout keysContainer = (LinearLayout) layout.findViewById(R.id.foreign_keys_details); final TextView informNoKeys = (TextView) layout.findViewById(R.id.no_keys_to_accept); header.setText(jid.toString()); + header.setOnClickListener(new OnClickListener() { + @Override + public void onClick(View v) { + switchToContactDetails(mAccount.getRoster().getContact(jid)); + } + }); final Map fingerprints = entry.getValue(); for (final String fingerprint : fingerprints.keySet()) { addFingerprintRowWithListeners(keysContainer, mAccount, fingerprint, false,