From d4e7229a0638624b82e32f5d12d4a70fad1988e0 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 2 Jul 2023 16:29:26 +0200 Subject: src/arctica-greeter.vala: Do not rename users in D-Bus methods --- src/arctica-greeter.vala | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 00004dc..1243fa7 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -1315,11 +1315,6 @@ public class DBusServer : Object public void sendUserChange (string sUser) throws GLib.DBusError, GLib.IOError { - if (sUser == "*guest") - { - sUser = "GUEST"; - } - Variant pUser = new Variant ("(s)", sUser); try @@ -1336,11 +1331,6 @@ public class DBusServer : Object { string sUser = this.pGreeter.get_state ("last-user"); - if (sUser == "*guest") - { - sUser = "GUEST"; - } - return sUser; } -- cgit v1.2.3