mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
edit account activity was still showing the omemo key with leading 0x05. fixes #1631
This commit is contained in:
parent
d875061407
commit
a319446d41
@ -670,7 +670,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
|||||||
final String axolotlFingerprint = this.mAccount.getAxolotlService().getOwnFingerprint();
|
final String axolotlFingerprint = this.mAccount.getAxolotlService().getOwnFingerprint();
|
||||||
if (axolotlFingerprint != null) {
|
if (axolotlFingerprint != null) {
|
||||||
this.mAxolotlFingerprintBox.setVisibility(View.VISIBLE);
|
this.mAxolotlFingerprintBox.setVisibility(View.VISIBLE);
|
||||||
this.mAxolotlFingerprint.setText(CryptoHelper.prettifyFingerprint(axolotlFingerprint));
|
this.mAxolotlFingerprint.setText(CryptoHelper.prettifyFingerprint(axolotlFingerprint.substring(2)));
|
||||||
this.mAxolotlFingerprintToClipboardButton
|
this.mAxolotlFingerprintToClipboardButton
|
||||||
.setVisibility(View.VISIBLE);
|
.setVisibility(View.VISIBLE);
|
||||||
this.mAxolotlFingerprintToClipboardButton
|
this.mAxolotlFingerprintToClipboardButton
|
||||||
@ -679,7 +679,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(final View v) {
|
public void onClick(final View v) {
|
||||||
|
|
||||||
if (copyTextToClipboard(axolotlFingerprint, R.string.omemo_fingerprint)) {
|
if (copyTextToClipboard(axolotlFingerprint.substring(2), R.string.omemo_fingerprint)) {
|
||||||
Toast.makeText(
|
Toast.makeText(
|
||||||
EditAccountActivity.this,
|
EditAccountActivity.this,
|
||||||
R.string.toast_message_omemo_fingerprint,
|
R.string.toast_message_omemo_fingerprint,
|
||||||
|
Loading…
Reference in New Issue
Block a user