ALE-Rainbow / Sharp.Ws.Xmpp

Sharp.Ws.Xmpp has beend forked from pgstath/Sharp.Xmpp and it has been enhanced to support Web Socket.
Other
2 stars 2 forks source link

SubscriptionRequest fires evertime #7

Open LumiProj opened 4 years ago

LumiProj commented 4 years ago

HI,

Subscription is working fires BUT my question is why SubscriptiobRequest method fires every time when I load page. is this behavior is normal or requires extra steps to overcome this behavior.

**bool OnSubscriptionRequest(Jid from) { client.AddContact(new Sharp.Xmpp.Jid("user2@blah.com"), "John");

        return true;
    }

client = new XmppClient("blah.com", "user1", "user1");

client.SubscriptionRequest = OnSubscriptionRequest;**

us3rname1337 commented 2 years ago

2 years past and still not worked...