mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
fix(session-sharing): use the linked server for desktop meetings and links (#1507)
This commit is contained in:
1 parent
9801cc7fc7
commit
ec7c2c2835
15 files changed
+621
-210
No files matched your search
@@ -118,12 +118,14 @@ function RemoteDesktopStandalone({ hostId, view }: StandaloneViewProps) {
|
||||
/** What collab rooms and shared-session links draw a stream with. */
|
||||
function RemoteDisplay({
|
||||
token,
|
||||
connectionOrigin,
|
||||
protocol,
|
||||
isVisible,
|
||||
onConnect,
|
||||
onError,
|
||||
}: {
|
||||
token: string;
|
||||
connectionOrigin?: "local" | "remote";
|
||||
protocol: Protocol;
|
||||
isVisible: boolean;
|
||||
onConnect?: () => void;
|
||||
@@ -131,7 +133,7 @@ function RemoteDisplay({
|
||||
}) {
|
||||
return (
|
||||
<GuacamoleDisplay
|
||||
connectionConfig={{ token, protocol, type: protocol }}
|
||||
connectionConfig={{ token, protocol, type: protocol, connectionOrigin }}
|
||||
isVisible={isVisible}
|
||||
onConnect={onConnect}
|
||||
onError={onError}
|
||||
|
||||
Reference in new issue
Block a user