Pass a new query parameter into the search
This commit is contained in:
parent
8837045abb
commit
a5c615ceb4
16 changed files with 143 additions and 32 deletions
|
@ -14,14 +14,8 @@ use std::{sync::Arc, time::Duration};
|
|||
const MENTIONS_DEBOUNCE_INTERVAL: Duration = Duration::from_millis(50);
|
||||
|
||||
lazy_static! {
|
||||
static ref MENTIONS_SEARCH: SearchQuery = SearchQuery::regex(
|
||||
"@[-_\\w]+",
|
||||
false,
|
||||
false,
|
||||
Default::default(),
|
||||
Default::default()
|
||||
)
|
||||
.unwrap();
|
||||
static ref MENTIONS_SEARCH: SearchQuery =
|
||||
SearchQuery::regex("@[-_\\w]+", false, false, false, Vec::new(), Vec::new()).unwrap();
|
||||
}
|
||||
|
||||
pub struct MessageEditor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue