fix: More fixes sending metadata to jicofo.

f1a0012 was not enough to address the issue.
This commit is contained in:
damencho
2025-08-18 10:19:17 -05:00
committed by Дамян Минков
parent 142d4441c1
commit fda42e5230

View File

@@ -317,8 +317,7 @@ end
-- Send a message update for metadata before sending the first self presence -- Send a message update for metadata before sending the first self presence
function filter_stanza(stanza, session) function filter_stanza(stanza, session)
if not stanza.attr or not stanza.attr.to or stanza.name ~= 'presence' if not stanza.attr or not stanza.attr.to or stanza.name ~= 'presence' or stanza.attr.type == 'unavailable' then
or stanza.attr.type == 'unavailable' or ends_with(stanza.attr.from, '/focus') then
return stanza; return stanza;
end end