Commit 1bb93c18fb
Unregistered key
Layout: unified · split
src/windows/mod.rs +4
| @@ -1565,6 +1565,10 @@ impl ListItem<IambInfo> for MemberItem { | ||
| 1565 | 1565 | fn get_word(&self) -> Option<String> { |
| 1566 | 1566 | self.member.user_id().to_string().into() |
| 1567 | 1567 | } |
| 1568 | ||
| 1569 | fn matches(&self, needle: ®ex::Regex) -> bool { | |
| 1570 | needle.is_match(self.member.name()) || needle.is_match(self.member.user_id().as_str()) | |
| 1571 | } | |
| 1568 | 1572 | } |
| 1569 | 1573 | |
| 1570 | 1574 | impl Promptable<ProgramContext, ProgramStore, IambInfo> for MemberItem { |