Comments (7)
I agree with the third possibility :)
from spectrum2.
I'm voting for XEP-0060 with fallback to 3)
from spectrum2.
@vitalyster 👍 for your option.
although anything is better than nothing here...
from spectrum2.
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.
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.
Spectrum uses prpl-facebook
from spectrum2.
That's https://github.com/jgeboski/purple-facebook? Thank you for the clue, and for fighting the walled gardening.
from spectrum2.
Related Issues (20)
- libpurple backend crashes if PRPL accepts incoming file transfer without calling purple_xfer_request HOT 1
- When group chat messages are displayed as private
- Get Info does not accurately reflect the actual status of a user. HOT 1
- [purple-instagram] unable to introduce login code HOT 1
- Can Spectrum 2 be used to "bridge" two or more Legacy networks? HOT 2
- purple-gowhatsapp compatibility HOT 2
- building from source on FreeBSD: `error: redefinition of 'DummyConnectionServerFactory'` HOT 1
- Error when compiling on Arch Linux HOT 3
- Update Debian repo and packages for Debian 11 Bullseye
- how do I connect two xmpp accounts?
- Frotz backend: Documentation missing?
- Cannot access any chats in purple-matrix HOT 6
- Trying to unregister user from transport not working using GoJara (can't find any documentation to fix it)
- Twitter Backend Crashing HOT 1
- sending message from mobile not replicated (spectrum2 & Gajim) HOT 5
- Almost a year since the last binary release. Is it time for a new one?
- Build failure with log4cxx 1.0.0 HOT 7
- License incompatiblity mongoose and swiften HOT 4
- CMake Deprecation Warning at CMakeLists.txt:3 HOT 1
- Consider dropping libswiften backend HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spectrum2.