rustdesk/src/server
21pages bf5abdb520
refactor windows specific session, file transfer and waiting for image (#7184)
* refactor windows specific session, file transfer and waiting for image

1. File transfer doesn't show directory until correct session id is ensured
2. Fix file transfer, caused by `pi.username = self.lc.read().unwrap().get_username(&pi);` in `handle_peer_info` override empty username and `get_active_username` doesn't return currect session username
* Fix home directory not change when session changed, or wrong home directory
* Fix show empty remote directory rather than error messagbox when current session is in login screen
3. Show `Connected, waiting for image` after user choose the same
   session id

Signed-off-by: 21pages <pages21@163.com>

* update translations

Signed-off-by: 21pages <pages21@163.com>

* Update connection.rs

---------

Signed-off-by: 21pages <pages21@163.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-02-19 10:32:13 +08:00
..
audio_service.rs feat, multi_flutter_ui_sessions 2023-10-14 12:26:24 +08:00
clipboard_service.rs feat, multi_flutter_ui_sessions 2023-10-14 12:26:24 +08:00
connection.rs refactor windows specific session, file transfer and waiting for image (#7184) 2024-02-19 10:32:13 +08:00
dbus.rs fix linux uni (url) and tray exit 2023-06-10 18:24:03 +08:00
display_service.rs add zero copy mode hareware codec for windows (#6778) 2024-01-02 16:58:10 +08:00
input_service.rs Feat: Wayland flatpak input support | Remote desktop portal (#6675) 2023-12-19 10:44:58 +08:00
portable_service.rs Refact. Replace all tokio::time::interval() (#7173) 2024-02-18 21:18:00 +08:00
rdp_input.rs Feat: Wayland flatpak input support | Remote desktop portal (#6675) 2023-12-19 10:44:58 +08:00
service.rs fix, is_subed() 2023-11-29 23:19:29 +08:00
uinput.rs Feat: Wayland flatpak input support | Remote desktop portal (#6675) 2023-12-19 10:44:58 +08:00
video_qos.rs add zero copy mode hareware codec for windows (#6778) 2024-01-02 16:58:10 +08:00
video_service.rs refactor windows specific session (#7170) 2024-02-18 22:08:25 +08:00
wayland.rs add zero copy mode hareware codec for windows (#6778) 2024-01-02 16:58:10 +08:00