diff --git a/connector/src/main.rs b/connector/src/main.rs
index 9879242..df1d395 100644
--- a/connector/src/main.rs
+++ b/connector/src/main.rs
@@ -1130,10 +1130,17 @@ async fn run(args: Args) -> Result<()> {
}
None => {
// Still try with raw ids if the client left our view.
+ // Carry through the already-decoded password instead of
+ // dropping it - this path is also used for self-moves
+ // via drag-and-drop, which still need the password to
+ // reach the server when the target channel requires one.
Some(OutClientMovePart {
client_id: ClientId(clid),
channel_id: ChannelId(cid),
- channel_password: Some(Cow::Borrowed("")),
+ channel_password: Some(match &password {
+ Some(pwd) => Cow::Owned(pwd.clone()),
+ None => Cow::Borrowed(""),
+ }),
})
}
},
diff --git a/web/src/App.tsx b/web/src/App.tsx
index 6807853..ebbc653 100644
--- a/web/src/App.tsx
+++ b/web/src/App.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useRef, useState } from "react";
+import { useEffect, useMemo, useRef, useState } from "react";
import "./App.css";
/** Only dismiss on a genuine backdrop click, not a text-selection drag that
@@ -2397,7 +2397,7 @@ function MoveClientDialog({