Close the message menu after selecting a quick reaction

And also ensure the "select an emoji" menu doesn't close the message
menu after *not* choosing an emoji, so it acts more like a submenu.
This commit is contained in:
Joshua Goins
2026-01-14 20:51:11 -05:00
parent 74d4e786d3
commit e3307326ef

View File

@@ -132,14 +132,12 @@ KirigamiComponents.ConvergentContextMenu {
root.room.toggleReaction(root.eventId, emoji);
root.close();
});
dialog.closed.connect(() => {
root.close();
});
dialog.open();
return;
}
root.room.toggleReaction(root.eventId, modelData);
root.close();
}
}
}