1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Search: the server said ...

This commit is contained in:
M66B 2021-01-07 21:18:55 +01:00
parent 6ab3edf740
commit d8d233617b

View file

@ -393,7 +393,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
if (responses.length == 0)
throw new ProtocolException("No response");
if (!responses[responses.length - 1].isOK())
throw new ProtocolException(responses[responses.length - 1]);
throw new ProtocolException(
context.getString(R.string.title_service_auth, responses[responses.length - 1]));
List<Integer> msgnums = new ArrayList<>();
for (Response response : responses)