ssb: Make blocks begin to do something.

This commit is contained in:
2025-11-27 16:43:15 -05:00
parent eecdbf6852
commit 4f2e0245d3
5 changed files with 58 additions and 8 deletions

View File

@@ -631,4 +631,12 @@ void tf_ssb_db_add_block(sqlite3* db, const char* id);
*/
void tf_ssb_db_remove_block(sqlite3* db, const char* id);
/**
** Check if an ID is blocked on this instance.
** @param db The database.
** @param id The account, message, or blob ID to check.
** @return true if the id is blocked.
*/
bool tf_ssb_db_is_blocked(sqlite3* db, const char* id);
/** @} */