From 03774a3756995c6b0f85687792f57fdb69abcc1c Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Sun, 29 Nov 2020 20:52:24 -0300 Subject: [PATCH] Fix muc invite and voide request not working --- .../src/win_notification_provider.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/windows-notification/src/win_notification_provider.vala b/plugins/windows-notification/src/win_notification_provider.vala index 8aaf1add..54872527 100644 --- a/plugins/windows-notification/src/win_notification_provider.vala +++ b/plugins/windows-notification/src/win_notification_provider.vala @@ -169,9 +169,9 @@ namespace Dino.Plugins.WindowsNotification { callbacks.activatedWithIndex = (index) => { if (index == 0) { - app.activate_action("deny-invite", group_conversation.id); - } else if (index == 1) { app.activate_action("open-muc-join", group_conversation.id); + } else if (index == 1) { + app.activate_action("deny-invite", group_conversation.id); } mark_for_removal(notification.id); }; @@ -210,9 +210,9 @@ namespace Dino.Plugins.WindowsNotification { var callbacks = new Callbacks(); callbacks.activatedWithIndex = (index) => { if (index == 0) { - app.activate_action("deny-invite", conversation.id); + app.activate_action("accept-voice-request", conversation.id); } else if (index == 1) { - app.activate_action("open-muc-join", conversation.id); + app.activate_action("deny-voice-request", conversation.id); } mark_for_removal(notification.id); };