Fix muc invite and voide request not working

This commit is contained in:
LAGonauta 2020-11-29 20:52:24 -03:00
parent 2d63c8ae77
commit 03774a3756

View file

@ -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);
};