ssb: If we don't accept the invite, give up on the connection.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
95f4f88949
commit
6e5b1127f3
@ -1769,6 +1769,10 @@ static void _tf_ssb_rpc_invite_use_work(tf_ssb_connection_t* connection, void* u
|
|||||||
{
|
{
|
||||||
tf_ssb_db_get_latest_message_by_author(ssb, work->pub, &work->previous_sequence, work->previous_id, sizeof(work->previous_id));
|
tf_ssb_db_get_latest_message_by_author(ssb, work->pub, &work->previous_sequence, work->previous_id, sizeof(work->previous_id));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
tf_ssb_connection_close(connection, "Invite not accepted.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _tf_ssb_invite_use_message_store_callback(const char* id, bool verified, bool is_new, void* user_data)
|
static void _tf_ssb_invite_use_message_store_callback(const char* id, bool verified, bool is_new, void* user_data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user