mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[feat] change recent connections layout
This commit is contained in:
@@ -97,13 +97,13 @@ int Thumbnail::SaveToThumbnail(const char* yuv420p, int width, int height,
|
||||
|
||||
std::string image_name;
|
||||
if (password.empty()) {
|
||||
image_name = remote_id + "N" + host_name;
|
||||
image_name = remote_id + 'N' + host_name;
|
||||
} else {
|
||||
// delete the file which has no password in its name
|
||||
std::string filename_without_password = remote_id + "N" + host_name;
|
||||
DeleteThumbnail(filename_without_password);
|
||||
|
||||
image_name = remote_id + "Y" + password + host_name;
|
||||
image_name = remote_id + 'Y' + password + host_name;
|
||||
}
|
||||
|
||||
std::string ciphertext = AES_encrypt(image_name, aes128_key_, aes128_iv_);
|
||||
|
||||
Reference in New Issue
Block a user