Subject: Receive history message after rejoin
Hi Alex,
I am getting issue when user rejoin the room. Case is that, We have three user A,B, C in room. Now I delete user A from room then I send some message M1, M2 and M3 to room. That messages did not receive to user A. That is fine because user A is not a member of room Now I send room invitation to user A. User A receive the invitation but it also receive last message (M3) of room. On that period he was not the member of room. So why he receive the M3 message.
I am using below code for Invite user in room.
muc.Invite(roomMemberJids, roomJid, reason);
Thanks,
Sanjeev Khanna
I am getting issue when user rejoin the room. Case is that, We have three user A,B, C in room. Now I delete user A from room then I send some message M1, M2 and M3 to room. That messages did not receive to user A. That is fine because user A is not a member of room Now I send room invitation to user A. User A receive the invitation but it also receive last message (M3) of room. On that period he was not the member of room. So why he receive the M3 message.
I am using below code for Invite user in room.
muc.Invite(roomMemberJids, roomJid, reason);
Thanks,
Sanjeev Khanna