mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-26 01:46:44 +00:00
fix: don't treat 404 as bad snode
This commit is contained in:
@@ -896,6 +896,10 @@ object SnodeAPI {
|
||||
Log.d("Loki", "Got a 421 without an associated public key.")
|
||||
}
|
||||
}
|
||||
404 -> {
|
||||
Log.d("Loki", "404, probably no file found")
|
||||
return Error.Generic
|
||||
}
|
||||
else -> {
|
||||
handleBadSnode()
|
||||
Log.d("Loki", "Unhandled response code: ${statusCode}.")
|
||||
|
||||
Reference in New Issue
Block a user