Always let the server set the create_at timestamp (#7323)

This commit is contained in:
Elias Nahum 2023-05-04 02:34:17 -04:00 committed by GitHub
parent 86658edc30
commit 34df44ab53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ export async function createPost(serverUrl: string, post: Partial<Post>, files:
let created;
try {
created = await client.createPost(newPost);
created = await client.createPost({...newPost, create_at: 0});
} catch (error) {
logDebug('Error sending a post', getFullErrorMessage(error));
const errorPost = {