Chat Federation WIP:

Trying to fix some non-working code. Still not working.
This commit is contained in:
John Livingston
2023-05-22 11:23:15 +02:00
parent ef3417dab0
commit cd3afe2b26
2 changed files with 110 additions and 60 deletions

View File

@ -140,7 +140,7 @@ local instance_url = assert(module:get_option_string("peertubelivechat_instance_
function discover_websocket_s2s(event)
local to_host = event.to_host;
module:log("debug", "Trying to route to %s", to_host);
module:log("debug", "Searching websocket s2s for remote host %s", to_host);
local f_s2s = io.open(path.join(server_infos_dir, to_host, 's2s'), "r");
if f_s2s ~= nil then