1
0
Fork 0
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:
M66B 2020-09-14 07:39:35 +02:00
parent d71195e2cd
commit 9b9aff3d9f

View file

@ -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);