Giter VIP home page Giter VIP logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Incidentally, I just figured out how to connect to google accounts:

Use XMPPConnection("gmail.com") and login("[email protected]", "password")

Original comment by [email protected] on 2 Mar 2010 at 4:33

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Could you add XMPPConnection.DEBUG=true; and Connection.DEBUG=true; before 
stating
the Thread? Can you provide a log of the messages send (minus the sasl part, of 
course).

What does "you can receive messages" mean? Can you receive messages in your 
loop and
in your chat manager or just in your loop?

TIA, René

Original comment by [email protected] on 2 Mar 2010 at 9:05

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
I think I know this bug. You also need to listen for new Chats not only for 
Messages
in your existing chat since the ChatManager class in the original Smack has a 
bug
which creates for every incoming message a new Chat. This happens if the 
incoming
Message hasn't got a threadid or another threadid than the message you sent. 
Your
PacketCollector instead listens for all Messages it gets from the other JID no 
matter
what threadid they have. A PacketListener on the connection which listens for 
Message
packets should also work.

Original comment by [email protected] on 2 Mar 2010 at 12:30

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
THX till, http://www.igniterealtime.org/issues/browse/SMACK-269 is what you 
mean,
right? Sounds like I should cherry-pick that one, too.

Any objectives?

Original comment by [email protected] on 2 Mar 2010 at 12:39

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Yeah, thats what I meant. At the moment I completely circumvent the ChatManager 
and
map the chats according to the jid. I'm completey ignoring the threadid since 
most
client don't set the threadid. This works pretty fine for me.

Original comment by [email protected] on 4 Mar 2010 at 12:03

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Ok, I'll have to read the spec, depending on that I'd
- clone the chat manager and provide a xmpp-thread-unsafe chat manager (if 
smack is
right)
- apply the patch (if smack is wrong)

Original comment by [email protected] on 5 Mar 2010 at 9:41

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
http://xmpp.org/rfcs/rfc3921.html#rfc.section.2.1.2 looks like you're right. 
Clients
MAY send a thread-id for messages, but they aren't enforced to do so.

2.1.2.3 is even worse. Looks like messages should be grouped by 
jid,resource,thread
(with NULL being a correct value for grouping). Starting a thread with a thread 
id is
bad because we can't be sure if a reply (if any) will contain the thread id.

Google code and any RFC viewer should implement dislike button....

Original comment by [email protected] on 13 Mar 2010 at 2:38

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
I see there's a new build of the code.  Has this issue been addressed in that 
build?  
Thx!

Original comment by [email protected] on 6 Apr 2010 at 5:59

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Just confirmed it's fixed with asmack-2010.04.02.jar.  Thanks!

Original comment by [email protected] on 8 Apr 2010 at 12:04

from asmack.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Oh nice, didn't see the patch that fixed it, but glad to see your problem has 
been
addressed! Thanks for rechecking, and happy hacking!

Original comment by [email protected] on 8 Apr 2010 at 1:00

  • Changed state: Done

from asmack.

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.