aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-09-04 21:01:33 +0200
committerChristian Schneppe <christian@pix-art.de>2017-09-04 21:01:33 +0200
commita785a3009f580f397a999a93b6ae488876e78fb8 (patch)
tree0f0508e56699d6ee9ee833a9192ae1c393d46b8f /src/main/java/de/pixart/messenger
parent376c1e1b97553af7e00313371bf8d4a8b0cc75d9 (diff)
link jid in trust keys activity to contact details
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r--src/main/java/de/pixart/messenger/ui/TrustKeysActivity.java6
1 files changed, 6 insertions, 0 deletions
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<String, Boolean> fingerprints = entry.getValue();
for (final String fingerprint : fingerprints.keySet()) {
addFingerprintRowWithListeners(keysContainer, mAccount, fingerprint, false,