mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-21 09:48:01 +00:00
Add advanced preference for refreshing push directory.
This commit is contained in:
@@ -142,6 +142,8 @@ public class PushServiceSocket {
|
||||
return response.getKeys();
|
||||
} catch (JsonParseException e) {
|
||||
throw new IOException(e);
|
||||
} catch (NotFoundException nfe) {
|
||||
throw new UnregisteredUserException(destination.getNumber(), nfe);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,6 +165,8 @@ public class PushServiceSocket {
|
||||
return response.getKeys().get(0);
|
||||
} catch (JsonParseException e) {
|
||||
throw new IOException(e);
|
||||
} catch (NotFoundException nfe) {
|
||||
throw new UnregisteredUserException(destination.getNumber(), nfe);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user