Performance improvements
All checks were successful
release / Build and push Docker image (push) Successful in 1m11s

This commit is contained in:
2025-01-04 23:06:13 +03:30
parent 59410c1458
commit 787a9dd09b
3 changed files with 20 additions and 9 deletions

View File

@@ -37,6 +37,7 @@ public class ProcessPosts
$"<a href=\"" + post.Url + "\"> Mastodon </a>", ParseMode.Html
, replyMarkup: new InlineKeyboardMarkup().AddButton("Approve", $"approve-{media.MediaId}").AddButton("Reject", $"reject-{media.MediaId}"));
validPosts.Add(post);
newPosts++;
}
catch (Exception ex)
{
@@ -44,7 +45,7 @@ public class ProcessPosts
media.PreviewUrl);
}
newPosts++;
}
// Insert post