diff --git a/lib/xdg-app-utils.c b/lib/xdg-app-utils.c index 1849f039..214f1786 100644 --- a/lib/xdg-app-utils.c +++ b/lib/xdg-app-utils.c @@ -966,7 +966,8 @@ got_credentials_cb (GObject *source_object, info->app_id = g_strdup (name); } } - else + else if (g_str_has_prefix (scope, "session-") && + g_str_has_suffix (scope, ".scope")) info->app_id = g_strdup (""); } }