Search: the server said ...

pull/191/head
M66B 4 years ago
parent 6ab3edf740
commit d8d233617b

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

Loading…
Cancel
Save