fn recipients(&self, group: &Group) -> Vec<Vec<u8>> {
        let mut recipients = Vec::new();
        for member in group.members.iter() {
            if self.identity.borrow().credential.credential().identity() != member {
                let contact = match self.contacts.get(member) {
                    Some(c) => c.id.clone(),
                    None => panic!("There's a member in the group we don't know."),
                };
                recipients.push(contact);
            }
        }
        recipients
    }
/// Get a list of clients in the group to send messages to.
Get a list of clients in the group to send messages to.
Get a list of clients in the group to send messages to .
fn recipients(&self, group: &Group) -> Vec<Vec<u8>> {
        let mut recipients = Vec::new();
        for member in group.members.iter() {
            if self.identity.borrow().credential.credential().identity() != member {
                let contact = match self.contacts.get(member) {
                    Some(c) => c.id.clone(),
                    None => panic!("There's a member in the group we don't know."),
                };
                recipients.push(contact);
            }
        }
        recipients
    }
fn recipients ( & self , group : & Group ) -> Vec < Vec < u8 > > { let mut recipients = Vec :: new ( ) ; for member in group . members . iter ( ) { if self . identity . borrow ( ) . credential . credential ( ) . identity ( ) != member { let contact = match self . contacts . get ( member ) { Some ( c ) => c . id . clone ( ) , None => panic ! ( " " ) , } ; recipients . push ( contact ) ; } } recipients }
Get a list of clients in the group to send messages to.
Get a list of clients in the group to send messages to .
&self
group
&Group
&self
group
&Group