Commit c3d4ac0bbf
Unsigned
Layout: unified · split
src/render.rs +3 −3
| @@ -97,7 +97,7 @@ impl<'a> Render for &'a SyncStateEvent<MemberEventContent> { | |||
| 97 | color_reset = Weechat::color("reset")) | 97 | color_reset = Weechat::color("reset")) |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | std::option::Option::None => { | 100 | Option::None => { |
| 101 | member.user_id.as_ref().to_string() | 101 | member.user_id.as_ref().to_string() |
| 102 | } | 102 | } |
| 103 | } | 103 | } |
| @@ -162,7 +162,7 @@ impl<'a> Render for &'a SyncStateEvent<MemberEventContent> { | |||
| 162 | color_action = color_action, | 162 | color_action = color_action, |
| 163 | color_reset = color_reset | 163 | color_reset = color_reset |
| 164 | ), | 164 | ), |
| 165 | std::option::Option::None => format!( | 165 | Option::None => format!( |
| 166 | "{prefix} {target} {color_action}removed their display name{color_reset}", | 166 | "{prefix} {target} {color_action}removed their display name{color_reset}", |
| 167 | prefix = Weechat::prefix(prefix), | 167 | prefix = Weechat::prefix(prefix), |
| 168 | target = target_name, | 168 | target = target_name, |
| @@ -181,7 +181,7 @@ impl<'a> Render for &'a SyncStateEvent<MemberEventContent> { | |||
| 181 | color_action = color_action, | 181 | color_action = color_action, |
| 182 | color_reset = color_reset | 182 | color_reset = color_reset |
| 183 | ), | 183 | ), |
| 184 | std::option::Option::None => format!( | 184 | Option::None => format!( |
| 185 | "{prefix} {target} {color_action}changed their avatar and removed display name{color_reset}", | 185 | "{prefix} {target} {color_action}changed their avatar and removed display name{color_reset}", |
| 186 | prefix = Weechat::prefix(prefix), | 186 | prefix = Weechat::prefix(prefix), |
| 187 | target = target_name, | 187 | target = target_name, |