agl / xmpp-client

An XMPP client with OTR support
BSD 3-Clause "New" or "Revised" License
365 stars 71 forks source link

"Unknown IQ" errors #32

Closed savagejen closed 11 years ago

savagejen commented 11 years ago

I have no idea what these mean. Are they normal?

rmoore commented 11 years ago

jabber:iq:last is the namespace of a protocol extension (XEP-0012: Last Activity) for determining the time of the last activity associated with an XMPP entity.

urn:xmpp:time is the namespace of a protocol extension (XEP-0202: Entity Time) for determining the local time of an entity.

Doesn't look like either of these are supported extensions in xmpp.go or in the processIQ function of ui.go here.

savagejen commented 11 years ago

So maybe someone's client was requesting that info about me?

rmoore commented 11 years ago

That would be my guess, though they shouldn't be requesting it since xmpp-client doesn't advertise support for these features. My guess would be a broken (or overly eager?) client out there?

Adding support for these features probably wouldn't be terribly difficult, though IDK if people would necessarily want to reveal this information...

savagejen commented 11 years ago

Yeah, probably best to just leave it as is.

agl commented 11 years ago

I experienced a lot of confusion trying to understand the XMPP specs. Both the RFCs and the numerous subprotocol docs, many of which appear to be "optimistic" with respect to what the set of other XMPP clients actually do.

I debugged a very minimal level of support which was sufficient for my needs, but lots of the core and non-core protocol is unimplemented. If you understand them, then it should be easy to add!