5 Commits
Author SHA1 Message Date
pajladaandGitHub 3b7aa53d1d plugins: include exhaustiveFlags in clone (#7195)
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: Nerixyz <nerixdev@outlook.de>
Parent-pr: 7192
2026-08-23 12:51:12 +00:00
pajladaandGitHub 036f2c154a messageelement: allow for exhaustive flag test (#7192)
this allows most elements to be configured with the "exhaustiveFlags"
flag which ensures that _all_ of the element's flags must be set in the
context for it to be laid out.
2026-08-23 10:55:10 +00:00
b_drinkandGitHub 58f9ff32a2 fix(plugins): Message:append_element(MessageElement) unreachable (#7176)
When passing a `MessageElement` instead of an init table to
`Message:append_element` in a lua plugin, it would error with "Invalid
message type" suggesting that it calls `elementFromTable`, i.e. acts as
if a `MessageElementInit` table was passed.

```

Reviewed-by: Nerixyz <nerixdev@outlook.de>
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2026-08-15 23:06:33 +00:00
NerixyzandGitHub ea0e913af4 feat(plugins): Allow messages to be cloned (#6990)
After #6909, we can clone message elements. With this PR, we can clone
whole messages. The messages are non-frozen afterward, so plugins can
edit their properties and add/remove elements.

Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2026-08-09 11:56:06 +00:00
nerixandGitHub 74b4674c6b feat(plugins): allow message introspection (#6353)
This allows users to introspect messages (i.e. look at the elements they're made up of).

Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2025-12-07 14:52:59 +00:00