/**
     * Update current RORI account by handling accountsChanged signals from daemon
     * @param self
     * @param ci
     */
Update current RORI account by handling accountsChanged signals from daemon
@param self
@param ci
Update current RORI account by handling accountsChanged signals from daemon @param self @param ci
fn handle_registration_changed(&self, ci: &ConnectionItem) {
        // Check signal
        let msg = if let &ConnectionItem::Signal(ref signal) = ci { signal } else { return };
        if &*msg.interface().unwrap() != "cx.ring.Ring.ConfigurationManager" { return };
        if &*msg.member().unwrap() != "registrationStateChanged" { return };
        // let (account_id, registration_state, _, _) = msg.get4::<&str, &str, u64, &str>();
        // TODO the account can be disabled. Inform UI
    }
fn handle_registration_changed ( & self , ci : & ConnectionItem ) { // Check signal let msg = if let & ConnectionItem :: Signal ( ref signal ) = ci { signal } else { return } ; if & * msg . interface ( ) . unwrap ( ) != " " { return } ; if & * msg . member ( ) . unwrap ( ) != " " { return } ; // let (account_id, registration_state, _, _) = msg.get4::<&str, &str, u64, &str>(); // TODO the account can be disabled. Inform UI }
Update current RORI account by handling accountsChanged signals from daemon
 @param self
 @param ci
Update current RORI account by handling accountsChanged signals from daemon @param self @param ci
&self
ci
&ConnectionItem