pub fn send_confirmation(&self, client: &HyperClient,
                             message_id: &str,
                             storage: Arc<StorageManager>,
                             devices: Arc<Mutex<Devices>>)
        -> BerylliumFuture<()>
    {
        info!("Sending confirmation message...");
        let mut message = GenericMessage::new();
        let uuid = utils::uuid_v1();
        message.set_message_id(uuid.to_string());
        let mut confirmation = Confirmation::new();
        confirmation.set_message_id(message_id.to_owned());
        confirmation.set_field_type(Confirmation_Type::DELIVERED);
        message.set_confirmation(confirmation);
        self.send_encrypted_message(client, &message, storage, devices)
    }
/// Send confirmation message that we've received a message from conversation.
Send confirmation message that we've received a message from conversation.
Send confirmation message that we ' ve received a message from conversation .
pub fn send_confirmation(&self, client: &HyperClient,
                             message_id: &str,
                             storage: Arc<StorageManager>,
                             devices: Arc<Mutex<Devices>>)
        -> BerylliumFuture<()>
    {
        info!("Sending confirmation message...");
        let mut message = GenericMessage::new();
        let uuid = utils::uuid_v1();
        message.set_message_id(uuid.to_string());
        let mut confirmation = Confirmation::new();
        confirmation.set_message_id(message_id.to_owned());
        confirmation.set_field_type(Confirmation_Type::DELIVERED);
        message.set_confirmation(confirmation);
        self.send_encrypted_message(client, &message, storage, devices)
    }
pub fn send_confirmation ( & self , client : & HyperClient , message_id : & str , storage : Arc < StorageManager > , devices : Arc < Mutex < Devices > > ) -> BerylliumFuture < ( ) > { info ! ( " " ) ; let mut message = GenericMessage :: new ( ) ; let uuid = utils :: uuid_v1 ( ) ; message . set_message_id ( uuid . to_string ( ) ) ; let mut confirmation = Confirmation :: new ( ) ; confirmation . set_message_id ( message_id . to_owned ( ) ) ; confirmation . set_field_type ( Confirmation_Type :: DELIVERED ) ; message . set_confirmation ( confirmation ) ; self . send_encrypted_message ( client , & message , storage , devices ) }
Send confirmation message that we've received a message from conversation.
Send confirmation message that we ' ve received a message from conversation .
&self
client
&HyperClient
message_id
&str
storage
Arc<StorageManager>
devices
Arc<Mutex<Devices>>