diff --git a/src/message/mod.rs b/src/message/mod.rs index ab813bf..03510b4 100644 --- a/src/message/mod.rs +++ b/src/message/mod.rs @@ -961,7 +961,7 @@ impl Message { vwctx: &ViewportContext, info: &'a RoomInfo, settings: &'a ApplicationSettings, - ) -> (Text<'a>, Option<(&dyn Protocol, u16, u16)>) { + ) -> (Text<'a>, Option<(&'a dyn Protocol, u16, u16)>) { let width = vwctx.get_width(); let style = self.get_render_style(selected, settings);