A bug about ChatManager

Imagine the following situation:

1.“A” invites “B” to join a multiuserchat(muc.invite(“B”, “invite”):wink:

2.“B” reject the invitation(MultiUserChat.decline(conn, room, inviter, “reject”):wink:

3.In client “A”, the event InvitationRejectionListener.invitationDeclined will be triggered

But at the same time, in client “A”, the ChatManagerListener.chatCreated event would be triggered, too

Why? Is this a bug? How to solve this problem?