link jid in trust keys activity to contact details

This commit is contained in:
Daniel Gultsch 2017-08-24 10:09:16 +02:00
parent f4ff644338
commit 617425e7ff

View file

@ -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<String, Boolean> fingerprints = entry.getValue();
for (final String fingerprint : fingerprints.keySet()) {
addFingerprintRowWithListeners(keysContainer, mAccount, fingerprint, false,