Commit e99b879b authored by NotAFile's avatar NotAFile

show mxid in member tooltip

parent 2b779a41
......@@ -49,7 +49,10 @@ impl<'a> MemberBox<'a> {
}
username.set_text(&self.member.get_alias().unwrap_or_default());
username.set_tooltip_text(&self.member.get_alias().unwrap_or_default()[..]);
let mut alias = self.member.get_alias().unwrap_or_default();
alias.push_str("\n");
alias.push_str(&self.member.uid);
username.set_tooltip_text(&alias[..]);
username.set_margin_end(5);
username.set_ellipsize(pango::EllipsizeMode::End);
username.set_valign(gtk::Align::Center);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment