Commit 62bbfeed99

62bbfeed995f232eefdfda82aabf63c1264e086b

parent: bf9f08ecef

Unsigned

Darafei Praliaskouski <me@komzpa.net> · 2026-07-13 21:12 UTC
committer: <strk@kbt.io>

fix: restore formatted body implementations

Layout: unified · split

src/render.rs +4
@@ -1063,6 +1063,10 @@ macro_rules! has_formatted_body {
1063 }; 1063 };
1064} 1064}
1065 1065
1066has_formatted_body!(EmoteMessageEventContent);
1067has_formatted_body!(NoticeMessageEventContent);
1068has_formatted_body!(TextMessageEventContent);
1069
1066/// This trait is implemented for message types that can contain either an URL 1070/// This trait is implemented for message types that can contain either an URL
1067/// or an encrypted file. One of these _must_ be present. 1071/// or an encrypted file. One of these _must_ be present.
1068pub trait HasUrlOrFile { 1072pub trait HasUrlOrFile {