forked from cory/tildefriends
ssb: Allow otherwise unrecognized incoming connections when not talking to strangers if they have a valid invite.
This commit is contained in:
@ -547,4 +547,12 @@ bool tf_ssb_db_is_account_familiar(sqlite3* db, const char* id, int depth);
|
||||
*/
|
||||
int tf_ssb_sqlite_authorizer(void* user_data, int action_code, const char* arg0, const char* arg1, const char* arg2, const char* arg3);
|
||||
|
||||
/**
|
||||
** Check if we have an invite for the given account.
|
||||
** @param db The database.
|
||||
** @param id The invite public key to check.
|
||||
** @return true If we have a valid invite for the address.
|
||||
*/
|
||||
bool tf_ssb_db_has_invite(sqlite3* db, const char* id);
|
||||
|
||||
/** @} */
|
||||
|
Reference in New Issue
Block a user