[jitsi-users] Issues about chat room history


#1

Hi there,

    Thank for creating the powerful jitsi.

    I setup a Openfire 3.8.1 as the XMPP server, and my workmates
communicated eachother through it with jitsi. I got two issues related to
chat room history:
    1. Once the chat room window is closed, jitsi can't display the owner
of income message after the chat room window is opened again. Jitsi shows
the time like "2013-08-14T18:12:43.072+0800" in the position where the
owner name fo income message should display.
    2. In Openfire Admin Console there is a configuration called "Group
Chat History Settings" at Group Chat->Group Chat Settings->Service
Options->History Settings. It replays conversation histories to new members
joining the chat room. In case when it is set to "Show Entire Chat History"
or "Show a Specific Number of Messages", the chat history is messed up when
the chat room window is opened; while it is set to "Don't Show History",
the chat history is ok.

    Can anyone go through the above two issues?

Thanks,
Jia Chunyu


#2

After some debugs I think the first issue is caused by the method
joined(String) of the class MemberListener which is in the file
ChatRoomJabberImpl.java. Below is the code block which may go wrong.

            //smack returns fully qualified occupant names.
            ChatRoomMemberJabberImpl member = new ChatRoomMemberJabberImpl(
                  ChatRoomJabberImpl.this,
                  occupant.getNick(),
                  occupant.getJid());

When Jitsi opens a chat room it can't get the JID of the room members due
to occupant.getJid() returns null. So when Jitsi records recieved message
to history file it fails to write Sub element because it can't get the
member's JID.

Can anyone check this out?

Thanks,
Jia Chunyu

···

On Wed, Aug 14, 2013 at 7:06 PM, jia chunyu <jiachunyu@gmail.com> wrote:

Hi there,

    Thank for creating the powerful jitsi.

    I setup a Openfire 3.8.1 as the XMPP server, and my workmates
communicated eachother through it with jitsi. I got two issues related to
chat room history:
    1. Once the chat room window is closed, jitsi can't display the owner
of income message after the chat room window is opened again. Jitsi shows
the time like "2013-08-14T18:12:43.072+0800" in the position where the
owner name fo income message should display.
    2. In Openfire Admin Console there is a configuration called "Group
Chat History Settings" at Group Chat->Group Chat Settings->Service
Options->History Settings. It replays conversation histories to new members
joining the chat room. In case when it is set to "Show Entire Chat History"
or "Show a Specific Number of Messages", the chat history is messed up when
the chat room window is opened; while it is set to "Don't Show History",
the chat history is ok.

    Can anyone go through the above two issues?

Thanks,
Jia Chunyu