From bbbf3ad38f649008e58e2eb11f0bee96722243c7 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sat, 2 Nov 2024 14:51:32 -0400 Subject: Remove Discord Activity code from this branch --- priv/room.html.eex | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'priv/room.html.eex') diff --git a/priv/room.html.eex b/priv/room.html.eex index c3ae92e..3b15b74 100644 --- a/priv/room.html.eex +++ b/priv/room.html.eex @@ -1,18 +1,7 @@ <% -import Mediasync.Constants - -{video_info, websocket_path, state_url, home_button_url, show_snap_button?} = if in_discord_activity? do - { - %{video_info | url: "/.proxy/room/#{room_id}/video?#{query_param_discord_activity_inner()}"}, - "/.proxy/room/#{room_id}/websocket?#{query_param_discord_activity_inner()}", - "/.proxy/room/#{room_id}/state.json?#{query_param_discord_activity_inner()}", - "/.proxy/?#{query_param_discord_activity_inner()}", - true - } -else - {video_info, "/room/#{room_id}/websocket", "/room/#{room_id}/state.json", nil, false} -end +{websocket_path, state_url} = + {"/room/#{room_id}/websocket", "/room/#{room_id}/state.json"} %> @@ -82,10 +71,8 @@ end -- cgit v1.2.3-57-g22cb