Scram-Sha-1 mechanism : do not send authzid if it not absolutely necessary
Some servers (ejabberd) reject the challenge if the
scram attributes a (authzid) and n (authcid) are equals
or they just don't handle the authzid.
So we just don't send it if they are the same
This fix #484
Index: org/jivesoftware/smackx/pubsub/PubSubManager.java
===================================================================
--- org/jivesoftware/smackx/pubsub/PubSubManager.java (revision 11464)
+++ org/jivesoftware/smackx/pubsub/PubSubManager.java (working copy)
@@ -41,7 +41,7 @@
*
* @author Robin Collier
*/
-final public class PubSubManager
+public class PubSubManager
{
private XMPPConnection con;
private String to;