fn handle_accounts_signals(&mut 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() != "accountsChanged" { return };
        // TODO test if RORI accounts is still exists
    }
/**
     * 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_accounts_signals(&mut 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() != "accountsChanged" { return };
        // TODO test if RORI accounts is still exists
    }
fn handle_accounts_signals ( & mut 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 } ; // TODO test if RORI accounts is still exists }
Update current RORI account by handling accountsChanged signals from daemon.
Update current RORI account by handling accountsChanged signals from daemon .
&mut self
ci
&ConnectionItem
&mut self
ci
&ConnectionItem