Nickname change and Join

Hi,

Is it normal that when someone changes his nickname, the method joined and the method nicknameChanged are both called ?

How dealing with that ? My programs think there is a new participant when someone change his nickname :/.

Thanks.

nobody ?