Fix muc invite and voide request not working
This commit is contained in:
parent
2d63c8ae77
commit
03774a3756
|
@ -169,9 +169,9 @@ namespace Dino.Plugins.WindowsNotification {
|
||||||
|
|
||||||
callbacks.activatedWithIndex = (index) => {
|
callbacks.activatedWithIndex = (index) => {
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
app.activate_action("deny-invite", group_conversation.id);
|
|
||||||
} else if (index == 1) {
|
|
||||||
app.activate_action("open-muc-join", group_conversation.id);
|
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);
|
mark_for_removal(notification.id);
|
||||||
};
|
};
|
||||||
|
@ -210,9 +210,9 @@ namespace Dino.Plugins.WindowsNotification {
|
||||||
var callbacks = new Callbacks();
|
var callbacks = new Callbacks();
|
||||||
callbacks.activatedWithIndex = (index) => {
|
callbacks.activatedWithIndex = (index) => {
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
app.activate_action("deny-invite", conversation.id);
|
app.activate_action("accept-voice-request", conversation.id);
|
||||||
} else if (index == 1) {
|
} 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);
|
mark_for_removal(notification.id);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue