From 360d28d68eec25c6a64a552f22c43a15fdfcf950 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Tue, 25 Mar 2025 21:21:32 +0100 Subject: [PATCH] Fix libnotify-CRITICAL when encryption is disabled --- server/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/main.cpp b/server/main.cpp index 8522e517..410afbd2 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -585,9 +585,6 @@ void set_encryption_state(wivrn_connection::encryption_state new_enc_state) std::cerr << "Encryption is disabled" << std::endl; wivrn_server_set_pairing_enabled(dbus_server, false); wivrn_server_set_encryption_enabled(dbus_server, false); - - notify_notification_set_timeout(pin_notification, NOTIFY_EXPIRES_NEVER); - notify_notification_show(pin_notification, nullptr); break; case wivrn_connection::encryption_state::enabled: