Mobile Apps - How do you know which server you are connected to?

I am trying to enable closing pages after hanging up if they’re setup on the server. I know how to get to the config, and see whether we should show a closing page, I am however not sure how I can access the current url. Is there any helper function that I am missing? (enableClosePage on mobile App · Issue #8383 · jitsi/jitsi-meet · GitHub is the issue I am trying to fix)

I am also considering just adding the current URL to the localstorage and then viewing it. If anyone here knows a cleaner solution, i’d be grateful for somee help.

I am thinking of calling this after hanging up