Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(filesharing): Adds a nil check.

damenchocd5aed37e9ac
diff --git a/resources/prosody-plugins/mod_filesharing_component.lua b/resources/prosody-plugins/mod_filesharing_component.lua
index ab0360b0d4..588d6d75c4 100644
--- a/resources/prosody-plugins/mod_filesharing_component.lua
+++ b/resources/prosody-plugins/mod_filesharing_component.lua
@@ -130,6 +130,10 @@ function on_message(event)
return true;
end
+ if not room.jitsi_shared_files then
+ return;
+ end
+
room.jitsi_shared_files[message.attr.fileId] = nil;
local json_msg, error = json.encode({