Commit 1bb93c18fb

1bb93c18fb0ba031b102cd9fd23cd4dcec7288b5

parent: e3090e537f

Unregistered key

vaw <git@nlih.de> · 2025-08-22 21:30 UTC
committer: <noreply@github.com>

Search `:members` by display name and user id (#482)

Layout: unified · split

src/windows/mod.rs +4
@@ -1565,6 +1565,10 @@ impl ListItem<IambInfo> for MemberItem {
15651565 fn get_word(&self) -> Option<String> {
15661566 self.member.user_id().to_string().into()
15671567 }
1568
1569 fn matches(&self, needle: &regex::Regex) -> bool {
1570 needle.is_match(self.member.name()) || needle.is_match(self.member.user_id().as_str())
1571 }
15681572}
15691573
15701574impl Promptable<ProgramContext, ProgramStore, IambInfo> for MemberItem {