pub fn process_blacklist(&mut self, username: &str) {
        let user: UserEntry = self
            .request_sender
            .get_entry_from_appended_id(username, "user");
        if let Some(blacklist_tags) = user.blacklisted_tags {
            if !blacklist_tags.is_empty() {
                let blacklist = self.blacklist.clone();
                blacklist
                    .borrow_mut()
                    .parse_blacklist(blacklist_tags)
                    .cache_users();
                self.grabber.set_blacklist(blacklist);
            }
        }
    }
/// Processes the blacklist and tokenizes for use when grabbing posts.
Processes the blacklist and tokenizes for use when grabbing posts.
Processes the blacklist and tokenizes for use when grabbing posts .
pub fn process_blacklist(&mut self, username: &str) {
        let user: UserEntry = self
            .request_sender
            .get_entry_from_appended_id(username, "user");
        if let Some(blacklist_tags) = user.blacklisted_tags {
            if !blacklist_tags.is_empty() {
                let blacklist = self.blacklist.clone();
                blacklist
                    .borrow_mut()
                    .parse_blacklist(blacklist_tags)
                    .cache_users();
                self.grabber.set_blacklist(blacklist);
            }
        }
    }
pub fn process_blacklist ( & mut self , username : & str ) { let user : UserEntry = self . request_sender . get_entry_from_appended_id ( username , " " ) ; if let Some ( blacklist_tags ) = user . blacklisted_tags { if ! blacklist_tags . is_empty ( ) { let blacklist = self . blacklist . clone ( ) ; blacklist . borrow_mut ( ) . parse_blacklist ( blacklist_tags ) . cache_users ( ) ; self . grabber . set_blacklist ( blacklist ) ; } } }
Processes the blacklist and tokenizes for use when grabbing posts.
Processes the blacklist and tokenizes for use when grabbing posts .
&mut self
username
&str
&mut self
username
&str