[Gekidou] retry post (#6293)

* Add try again functionality to failed posts

* Fix attach files on Android

* feedback review

* Prevent android crash when uploading files for the first time

* Update the timestamp for updateAt when retrying to post

* Add POST TIME TO FAIL

* use function isPostFailed
This commit is contained in:
Elias Nahum
2022-05-20 13:23:19 -04:00
committed by GitHub
parent 502efbcdc0
commit e883186fde
10 changed files with 152 additions and 15 deletions

View File

@@ -92,4 +92,6 @@ export default class PostModel extends Model {
/** hasReplies: Async function to determine if the post is part of a thread */
hasReplies: () => Promise<boolean>;
toApi: () => Promise<Post>;
}