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
parent fe72123415
commit 535455fd5c

View File

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