ssb: Did that from the wrong thread.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 30m35s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 30m35s
This commit is contained in:
parent
a3e86ccb1d
commit
575622c522
@ -1769,10 +1769,6 @@ 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));
|
||||
}
|
||||
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)
|
||||
@ -1826,6 +1822,7 @@ static void _tf_ssb_rpc_invite_use_after_work(tf_ssb_connection_t* connection, i
|
||||
{
|
||||
tf_ssb_connection_rpc_send(
|
||||
connection, k_ssb_rpc_flag_json | k_ssb_rpc_flag_end_error, -work->request_number, NULL, (const uint8_t*)"false", strlen("false"), NULL, NULL, NULL);
|
||||
tf_ssb_connection_close(connection, "Invite not accepted.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user