mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Use XDP::kObjectPath for session and request paths
This commit is contained in:
@@ -252,7 +252,8 @@ void LinuxIntegration::initInhibit() {
|
||||
const auto sessionHandleToken = "tdesktop"
|
||||
+ std::to_string(base::RandomValue<uint>());
|
||||
|
||||
const auto sessionHandle = "/org/freedesktop/portal/desktop/session/"
|
||||
const auto sessionHandle = base::Platform::XDP::kObjectPath
|
||||
+ std::string("/session/")
|
||||
+ uniqueName
|
||||
+ '/'
|
||||
+ sessionHandleToken;
|
||||
|
Reference in New Issue
Block a user