mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
implement mdn rendering
This commit is contained in:
@@ -444,11 +444,11 @@ impl Message {
|
||||
ret
|
||||
}
|
||||
|
||||
pub fn get_summarytext(&mut self, context: &Context, approx_characters: usize) -> String {
|
||||
pub fn get_summarytext(&self, context: &Context, approx_characters: usize) -> String {
|
||||
get_summarytext_by_raw(
|
||||
self.type_0,
|
||||
self.text.as_ref(),
|
||||
&mut self.param,
|
||||
&self.param,
|
||||
approx_characters,
|
||||
context,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user