mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-14 04:27:37 +00:00
Clean
This commit is contained in:
@@ -233,7 +233,7 @@ public class PushMediaSendJob extends PushSendJob implements InjectableType {
|
|||||||
database.markAsSentFailed(messageId);
|
database.markAsSentFailed(messageId);
|
||||||
}
|
}
|
||||||
} catch (LokiAPI.Error e) {
|
} catch (LokiAPI.Error e) {
|
||||||
android.util.Log.d("Loki", "Couldn't send message due to error: " + e.getDescription());
|
Log.d("Loki", "Couldn't send message due to error: " + e.getDescription());
|
||||||
if (messageId < 0) { return; }
|
if (messageId < 0) { return; }
|
||||||
LokiMessageDatabase lokiMessageDatabase = DatabaseFactory.getLokiMessageDatabase(context);
|
LokiMessageDatabase lokiMessageDatabase = DatabaseFactory.getLokiMessageDatabase(context);
|
||||||
lokiMessageDatabase.setErrorMessage(messageId, e.getDescription());
|
lokiMessageDatabase.setErrorMessage(messageId, e.getDescription());
|
||||||
|
Reference in New Issue
Block a user