From a785a3009f580f397a999a93b6ae488876e78fb8 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Mon, 4 Sep 2017 21:01:33 +0200 Subject: link jid in trust keys activity to contact details --- src/main/java/de/pixart/messenger/ui/TrustKeysActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/de/pixart/messenger') diff --git a/src/main/java/de/pixart/messenger/ui/TrustKeysActivity.java b/src/main/java/de/pixart/messenger/ui/TrustKeysActivity.java index 8a92a2b35..de45554f0 100644 --- a/src/main/java/de/pixart/messenger/ui/TrustKeysActivity.java +++ b/src/main/java/de/pixart/messenger/ui/TrustKeysActivity.java @@ -215,6 +215,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, -- cgit v1.2.3