Caps Add Feature

19 views
Skip to first unread message

Denny Ferrassoli

unread,
Jul 30, 2013, 6:44:46 PM7/30/13
to jabbe...@googlegroups.com
I'm trying to add a feature (custom) using Jabber-Net but I never see the feature coming through on Presence requests.

This is what I have:

            capsManager = new CapsManager();
            capsManager.DiscoManager = discoManager;
            capsManager.Stream = Connection;
            capsManager.AddIdentity("client", "bot", null, "Test Client");
            capsManager.AddFeature(URI.TIME);
            capsManager.AddFeature(URI.VERSION);
            capsManager.AddFeature(URI.LAST);
            capsManager.AddFeature(URI.DISCO_INFO);
            capsManager.AddFeature("foo:baz:bar");

My primitive understanding is that when my client sends presence it should have a feature added named "foo:bar:baz" however I don't see this coming through in the requests or responses. Essentially I'm trying to add information about a client so that other clients can know that they can communicate with that feature... which is what I understand caps is for. Any help is appreciated.
Reply all
Reply to author
Forward
0 new messages