ssb: Tidy up some of the more common reasons for disconnect.
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:
@ -1198,7 +1198,7 @@ static JSValue _tf_ssb_closeConnection(JSContext* context, JSValueConst this_val
|
||||
tf_ssb_connection_t* connection = tf_ssb_connection_get(ssb, id);
|
||||
if (connection)
|
||||
{
|
||||
tf_ssb_connection_close(connection, "Close requested by user.");
|
||||
tf_ssb_connection_close(connection, "Closed by user");
|
||||
}
|
||||
JS_FreeCString(context, id);
|
||||
return connection ? JS_TRUE : JS_FALSE;
|
||||
|
Reference in New Issue
Block a user