Can actually attempt to connect to a room from the web interface, now. No actual success yet.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4036 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-11-13 03:24:30 +00:00
parent cdbc2d48f7
commit 1e84b74ced
5 changed files with 38 additions and 8 deletions

View File

@ -2116,9 +2116,9 @@ static void _tf_ssb_connection_tunnel_callback(
_tf_ssb_connection_on_tcp_recv_internal(tunnel, message, size);
}
tf_ssb_connection_t* tf_ssb_connection_tunnel_create(tf_ssb_connection_t* connection, int32_t request_number, const char* target_id)
tf_ssb_connection_t* tf_ssb_connection_tunnel_create(tf_ssb_t* ssb, const char* portal_id, int32_t request_number, const char* target_id)
{
tf_ssb_t* ssb = connection->ssb;
tf_ssb_connection_t* connection = tf_ssb_connection_get(ssb, portal_id);
JSContext* context = ssb->context;
tf_ssb_connection_t* tunnel = tf_malloc(sizeof(tf_ssb_connection_t));