Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Revert "feat: Presence identity module to support other auth mechanisms."
damencho26021b2dd0ab
diff --git a/resources/prosody-plugins/mod_presence_identity.lua b/resources/prosody-plugins/mod_presence_identity.luaindex 940e692419..4db397e841 100644--- a/resources/prosody-plugins/mod_presence_identity.lua+++ b/resources/prosody-plugins/mod_presence_identity.lua@@ -6,21 +6,14 @@ local update_presence_identity = module:require "util".update_presence_identity;-- for that session.function on_message(event)if event and event["stanza"] then- if event.origin then- local user;- local group;- if event.origin.jitsi_meet_context_user then- user = event.origin.jitsi_meet_context_user;- group = event.origin.jitsi_meet_context_group;- else- user = { id = event.origin.username }; -- when using auth similar to internal_hashed- end+ if event.origin and event.origin.jitsi_meet_context_user thenupdate_presence_identity(event.stanza,- user,- group+ event.origin.jitsi_meet_context_user,+ event.origin.jitsi_meet_context_group);+endendend