aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-08-22 12:17:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-08-22 12:17:20 +0200
commit5802ec88efbc5564212fca81f9720945103f030d (patch)
treef4c4a48c5b70ea40e499347a275b663811bb7b0e /src
parent50faef7e9289beb75bf34fec79d6252a36043f9e (diff)
parent042dc016193f42766d584a1c4309130553a639ad (diff)
downloadayatana-indicator-sound-5802ec88efbc5564212fca81f9720945103f030d.tar.gz
ayatana-indicator-sound-5802ec88efbc5564212fca81f9720945103f030d.tar.bz2
ayatana-indicator-sound-5802ec88efbc5564212fca81f9720945103f030d.zip
Merge branch 'tari01-pr/prefixed-users'
Attributes GH PR #106: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/106
Diffstat (limited to 'src')
-rw-r--r--src/accounts-service-access.vala9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala
index 1b66370..9372aa9 100644
--- a/src/accounts-service-access.vala
+++ b/src/accounts-service-access.vala
@@ -1,6 +1,6 @@
/*
* Copyright 2016 Canonical Ltd.
- * Copyright 2021-2023 Robert Tari
+ * Copyright 2021-2024 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -144,6 +144,13 @@ public class AccountsServiceAccess : Object
}
}
+ bool bPrefix = username.has_prefix ("*");
+
+ if (bPrefix)
+ {
+ return;
+ }
+
// Get master AccountsService object
DBusProxy accounts_proxy;