Hi,
I am using smack to developp a client application connected to a Jive Messenger server.
I have noticed an odd behavior when I use GroupChat#join(nickname) of Smack API. It seems that, sometimes, the server sends me two times this group of messages:
-
one or two “null” GROUP_CHAT message(s)
-
the defined number of recent GROUP_CHAT messages (history settings)
I have been checking my code since yesterday to be sure that I do not join two times the GroupChat without any result. Moreover, I have not found what special conditions makes this repetition : sometimes I get the messages once, sometimes twice…
Is there any explication to this amazing reaction of the server?
FYI, I am developping on a Fedora Core 3 and Jive Messenger is installed on localhost, nothing goes through a network.
Thanks,
Seb