Group chat invitations are now part of the Smack extensions in CVS. You can download a nightly build to get this functionality. We’'ll likely do a release fairly soon as well.
now if jsmith@jivesoftware.com were using my jabber client too… how shoul he know someone is wanting to chat with him and if it’‘s trougth a GroupChatInvitation… how do i know it’'s a Chat and not a GroupChat… there must be differece…
If I’'m not wrong what you want to know is how do you detect when someone starts a new chat with you, am I correct?
If this is the case then you can listen for messages of type Message.Type.CHAT that your connection receives. For each message you can obtain the sender and the thread and create a new Chat using the constructor Chat(XMPPConnection connection, String participant, String chatID) where chatID is the message’'s thread.