Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tural Aliyev
    @turalsprofile
    ?
    Ben Langfeld
    @benlangfeld
    Yes I am here. You havn't said anything yet :/
    Tural Aliyev
    @turalsprofile
    @benlangfeld take a loot at private messages:)
    Ben Langfeld
    @benlangfeld
    Better to discuss here. No need for private :)

    For everyone else's sake:

    I wonder which part of candy chat you've written?
    I was looking for PHP part of this project to prebind web client converse JS into Openfire XMPP server

    I have written a bunch of things for Candy.
    Tural Aliyev
    @turalsprofile
    @benlangfeld alright
    are you familiar with PHP?
    Ben Langfeld
    @benlangfeld
    As for prebind in PHP, this is not part of the Candy project and would be part of your app. You would then call Candy.attach() with the correct parameters.
    I am familiar with PHP, yes.
    Tural Aliyev
    @turalsprofile
    and you probably familiar with xmpp too
    Ben Langfeld
    @benlangfeld
    Naturally
    Tural Aliyev
    @turalsprofile
    after googling a lot. I haven't found any strong library to prebind my php side to xmpp
    all solutions was outdated
    and mostly not working
    so I came out with my own solution
    Ben Langfeld
    @benlangfeld
    That doesn't surprise me
    Tural Aliyev
    @turalsprofile
    As a xmpp and php pro, I'd want you to review my small class to prebind: https://gist.github.com/anonymous/d3f2b5589d1346e57d49
    @benlangfeld ?
    Ben Langfeld
    @benlangfeld
    @turalsprofile I'm on a few phone calls. I'll take a look when I'm done.
    Tural Aliyev
    @turalsprofile
    So?
    Ben Langfeld
    @benlangfeld
    @turalsprofile Dude, chill. I think you might have forgotten that you're asking me for free advice. You'll get an answer when I have time to give you one.
    Tural Aliyev
    @turalsprofile
    alright. no need to be rude. I just asked if you reed.
    Ben Langfeld
    @benlangfeld
    Me being rude? You should re-read your messages.
    Ben Langfeld
    @benlangfeld
    @turalsprofile Looks basically correct to me, though to remain general I would probably not include a resource on the returned JID. Is there any particular concern you have about your implementation?
    Tural Aliyev
    @turalsprofile
    I’m using different web client. Not candy chat. Having issue don’t know exactly if it’s related to my script or related with converse js
    Ben Langfeld
    @benlangfeld
    Have you asked the ConverseJS people about it?
    Tural Aliyev
    @turalsprofile
    Web client gets messages well until I message back recipient. After that client starts ignoring received messages.
    They don’t have time for it:)
    jcbrand/converse.js#479
    “I would probably not include a resource on the returned JID. “ Which line you mean?
    Are both clients using the same resource?
    Does the issue only occur when you use prebind?
    Tural Aliyev
    @turalsprofile
    yes. when I just sign in, it works well. I removed resource id
    doesn’t help. The who messages me uses desktop client
    *The one who messages
    I see every action of the one who messages me in debug window
    But it ignores at the end, when it receives message
    Ben Langfeld
    @benlangfeld
    Do you have server logs?
    Tural Aliyev
    @turalsprofile
    Yes I have openfire logs
    I can send you if you want
    Ben Langfeld
    @benlangfeld
    Post them on the issue then, along with logs from the browser
    By that I mean full logs, including the connection setup
    Tural Aliyev
    @turalsprofile
    Ben Langfeld
    @benlangfeld
    You'll need to turn the log level up; the messages sent and received are not included there.
    Tural Aliyev
    @turalsprofile
    Okay. I’ll see. BTW, Which XMPP solution do you recommend as backend for large scale project?
    I can give you playground if you have 5-10 minutes of time. You can just open the firebug, and you’ll see all debug messages
    Ben Langfeld
    @benlangfeld
    I tend to use ejabberd. Others have good things to say about Prosody.