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