mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Small error message improvement
This commit is contained in:
parent
d71195e2cd
commit
9b9aff3d9f
1 changed files with 3 additions and 3 deletions
|
@ -5788,13 +5788,13 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
}
|
}
|
||||||
|
|
||||||
if (addr == null)
|
if (addr == null)
|
||||||
throw new IllegalArgumentException("addr not found");
|
throw new IllegalArgumentException("Autocrypt: addr not found");
|
||||||
|
|
||||||
if (!addr.equalsIgnoreCase(peer))
|
if (!addr.equalsIgnoreCase(peer))
|
||||||
throw new IllegalArgumentException("addr different from peer");
|
throw new IllegalArgumentException("Autocrypt: addr different from peer");
|
||||||
|
|
||||||
if (keydata == null)
|
if (keydata == null)
|
||||||
throw new IllegalArgumentException("keydata not found");
|
throw new IllegalArgumentException("Autocrypt: keydata not found");
|
||||||
|
|
||||||
AutocryptPeerUpdate update = AutocryptPeerUpdate.create(
|
AutocryptPeerUpdate update = AutocryptPeerUpdate.create(
|
||||||
keydata, new Date(message.received), mutual);
|
keydata, new Date(message.received), mutual);
|
||||||
|
|
Loading…
Reference in a new issue