Coder Social home page Coder Social logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
My solution.

Original comment by [email protected] on 26 Jan 2009 at 8:52

Attachments:

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I confirm that XMLStream::addXPathHandler does not interpret the pattern
iq/{jabber:iq:roster}query properly.

var_dump($xpath_array) yields the following:

array(1) {
  [0]=>
  array(2) {
    [0]=>
    string(16) "jabber:iq:roster"
    [1]=>
    string(5) "query"
  }
}

A temporary non-intrusive patch is attached but fixing addXPathHandler would be 
the
better approach.

Original comment by [email protected] on 14 Apr 2010 at 9:18

Attachments:

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
The problem is not solved? Get a list of contacts impossible? 
I applied the patch and diff. When you try to call
           $ a = $ conn-> roster-> getRoster ();
          print_r ($ a);
           $ b = $ conn-> getRoster ();
          print_r ($ b);
In the first case did not issue at all, in the second empty array: array ()

Original comment by [email protected] on 11 Jul 2011 at 12:38

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
had the same problem with this, have any solution?

Original comment by [email protected] on 28 Sep 2011 at 2:03

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
great, thanks to [email protected], thats all working, I trace line per line, 
and thats working, thanks :)

Original comment by [email protected] on 2 Oct 2011 at 1:40

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Really Great!

Many Many Thanks!

Original comment by [email protected] on 28 Dec 2011 at 3:14

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hey, I have been trying these patches and still can't make it get a Roster. Can 
anyone go step-by-step through how to how to fix XMPPPHP and make it grab this 
info?

Original comment by [email protected] on 21 Mar 2012 at 9:50

from xmpphp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
can anyone post the solution to get the roster info and message from the xmpp 
server?

Original comment by [email protected] on 13 Aug 2012 at 10:03

from xmpphp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.