Skip to content

Commit

Permalink
add welcomeinfoconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Dec 5, 2023
1 parent 6791a9b commit 0465fb3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion controllers/core_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import oc.logging
import oc.lib

from oc.od.settings import tipsinfoconfig, desktop, menuconfig
from oc.od.settings import tipsinfoconfig, desktop, menuconfig, welcomeinfoconfig
from oc.od.janus import ODJanusCluster
from oc.cherrypy import Results
from oc.od.services import services
Expand Down Expand Up @@ -74,6 +74,12 @@ def getkeyinfo(self):
id = isinstance( services.webrtc, ODJanusCluster )
elif provider == 'tipsinfo':
id = tipsinfoconfig
elif provider == 'welcomeinfo':
id = welcomeinfoconfig
elif provider == 'webrtc.configuration':
id = oc.od.settings.webrtc_configuration
elif provider == 'webrtc.enable':
id = oc.od.settings.webrtc_enable

return { 'id': id, 'callbackurl': callbackurl }

Expand Down

0 comments on commit 0465fb3

Please sign in to comment.