GithubHelp home page GithubHelp logo

Comments (7)

thundergreen avatar thundergreen commented on June 3, 2024

I agree with the third possibility :)

from spectrum2.

vitalyster avatar vitalyster commented on June 3, 2024

I'm voting for XEP-0060 with fallback to 3)

from spectrum2.

rigid avatar rigid commented on June 3, 2024

@vitalyster 👍 for your option.
although anything is better than nothing here...

from spectrum2.

jankaluza avatar jankaluza commented on June 3, 2024

Just some implementation details for this bug. We have to check the message from libpurple for <img id="foo"> or <img id='bar'>, fetch the image from imgstore and store it, remove the id and use the right src to point to the right image. Then generate plaintext part of the message to replace img with a link and xhtml-im part of the message with the image.

from spectrum2.

kousu avatar kousu commented on June 3, 2024

I need to hijack this thread for a moment: does Spectrum still work with Facebook? How is that possible? I have libpurple 2.10.12-1 under my Pidgin and it fails at login with:

<features xmlns='http://etherx.jabber.org/streams'>
    <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
    <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
        <mechanism>X-FACEBOOK-PLATFORM</mechanism>
        <mechanism>PLAIN</mechanism>
    </mechanisms>
</features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<features xmlns='http://etherx.jabber.org/streams'>
    <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
        <mechanism>X-FACEBOOK-PLATFORM</mechanism>
        <mechanism>PLAIN</mechanism>
    </mechanisms>
</features>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' client-uses-full-bind-result='true'>XXXXXXXXXXXXXXXXXXXXXXXXXX=</auth>
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
    <not-authorized/>
    <text>plain login failed</text>
</failure>

I thought Facebook turned off XMPP in favour of Messenger four months ago, but you say you just tested this this week. Is Spectrum using a secretly updated libpurple?

from spectrum2.

vitalyster avatar vitalyster commented on June 3, 2024

Spectrum uses prpl-facebook

from spectrum2.

kousu avatar kousu commented on June 3, 2024

That's https://github.com/jgeboski/purple-facebook? Thank you for the clue, and for fighting the walled gardening.

from spectrum2.

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.