candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.33k stars 370 forks source link

candy:core.presence.error of type 'conflict' when calling SetNickname() #491

Closed daniellimws closed 7 years ago

daniellimws commented 7 years ago

Every time I try to change the user's nickname with Candy.Core.Action.Jabber.SetNickname() I will get candy:core.presence.error of type 'conflict', and then the user is removed from the group.

The code is exactly the same as the one in the nickchange plugin. Could it be a problem with the SetNickname method?

daniellimws commented 7 years ago

Added nickchange plugin and it also doesnt work

daniellimws commented 7 years ago

nevermind it just worked after i woke up