Logo Search packages:      
Sourcecode: jabber-jit version File versions  Download package

void ICQ2000::Client::SignalMessageOfflineUser ( MessageOfflineUserSNAC *  snac  )  [private]

Mmm.. it'd be nice to use this as an ack for messages but it's not consistently sent for all messages through the server doesn't seem to be sent for normal (non-advanced) messages to online users.

Definition at line 314 of file Client.cpp.

References ICQ2000::MessageEvent::setDelivered(), ICQ2000::MessageEvent::setDirect(), and ICQ2000::MessageEvent::setFinished().

                                                                    {
    /**
     *  Mmm.. it'd be nice to use this as an ack for messages but it's
     *  not consistently sent for all messages through the server
     *  doesn't seem to be sent for normal (non-advanced) messages to
     *  online users.
     */
    ICBMCookie c = snac->getICBMCookie();

    if ( m_cookiecache.exists( c ) ) {

      /* indicate sending through server */
      MessageEvent *ev = m_cookiecache[c];
      ev->setFinished(false);
      ev->setDelivered(false);
      ev->setDirect(false);
      SignalMessageAck(ev);
      //      messageack.emit(ev);

    } else {
      SignalLog(LogEvent::WARN, "Received Offline ACK for unknown message");
    }
  }


Generated by  Doxygen 1.6.0   Back to index