mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-16 06:17:10 +00:00
review: Use is_widget directly instead of using the packageType
This commit is contained in:
@@ -79,9 +79,7 @@ export const RoomPage: FC = () => {
|
||||
calculateInitialMuteState(
|
||||
urlParams.skipLobby,
|
||||
urlParams.callIntent,
|
||||
import.meta.env.VITE_PACKAGE,
|
||||
window.location.hostname,
|
||||
Config.get().trust_localhost_for_mute_state,
|
||||
widget !== null,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user