src/main/java/org/jivesoftware/smack/Chat.java
void deliver(Message message) {
        // Because the collector and listeners are expecting a thread ID with
        // a specific value, set the thread ID on the message even though it
        // probably never had one.
        message.setThread(threadID);

        for (MessageListener listener : listeners) {
            listener.processMessage(this, message);
        }
    }
void deliver(Message message) {
        // Because the collector and listeners are expecting a thread ID with
        // a specific value, set the thread ID on the message even though it
        // probably never had one.
        message.setThread(threadID);

        for (MessageListener listener : listeners) {
            listener.processMessage(this, message);
        }
    }
void deliver ( Message message ) { // Because the collector and listeners are expecting a thread ID with // a specific value, set the thread ID on the message even though it // probably never had one. message . setThread ( threadID ) ; for ( MessageListener listener : listeners ) { listener . processMessage ( this , message ) ; } }
Delivers a message directly to this chat, which will add the message to
the collector and deliver it to all listeners registered with the Chat.
This is used by the Connection class to deliver messages without a thread
ID.

@param message
the message.
Delivers a message directly to this chat which will add the message to the collector and deliver it to all listeners registered with the Chat . This is used by the Connection class to deliver messages without a thread ID .