[sip-comm-dev] Typing notifications with jabber


#1

Hello,

Yesterday I've add my jabber account in SC to try the pro-actives
notifications with this protocol.
While processing the test, I got a problem with the typing notification event.

My contact can receive notifications when I'm writing a message or
stop (she was using pidgin) but I don't receive a notification when
she was typing a message.
I read the debug log of pidgin and an event was send.

I've done some research but I haven't found why. No methods from the
subclass IncomingMessageEventsListener (located in
OperationSetTypingNotificationJabberImpl) is ever called.
The implementation seems to be correct, I've checked with the
documentation of the Smack library

Does someone have this bug ?

@+

Damien

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hey Damien,

Yes I had also noticed that we seem to be incompatible with pidgin, and
other clients for that matter, when delivery or handling typing
notifications.

I've just checked and it appears that the reason is actually quite
simple: pidgin uses "XEP-0085: Chat State Notifications" while we are
apparently handling them through "XEP-0022: Message Events" which is now
deprecated.

Luckily the smack api supports both methods (kudos for the guys from
Ignite Realtime) so correcting the problem should be an easy fix. I
guess I'll try to find the time and implement it some time next week but
if anyone is willing to have a go then please let me know.

Cheers
Emil

Damien Roth написа:

···

Hello,

Yesterday I've add my jabber account in SC to try the pro-actives
notifications with this protocol.
While processing the test, I got a problem with the typing notification event.

My contact can receive notifications when I'm writing a message or
stop (she was using pidgin) but I don't receive a notification when
she was typing a message.
I read the debug log of pidgin and an event was send.

I've done some research but I haven't found why. No methods from the
subclass IncomingMessageEventsListener (located in
OperationSetTypingNotificationJabberImpl) is ever called.
The implementation seems to be correct, I've checked with the
documentation of the Smack library

Does someone have this bug ?

@+

Damien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Emil Ivov wrote:

Hey Damien,

Yes I had also noticed that we seem to be incompatible with pidgin, and
other clients for that matter, when delivery or handling typing
notifications.

I've just checked and it appears that the reason is actually quite
simple: pidgin uses "XEP-0085: Chat State Notifications" while we are
apparently handling them through "XEP-0022: Message Events" which is now
deprecated.

Sorry about that. :wink: But XEP-0022 had a lot of interoperability problems so we decided to design something new. We try not to do that, but sometimes it's necessary...

Peter


#4

Peter Saint-Andre написа:

Sorry about that. :wink: But XEP-0022 had a lot of interoperability
problems so we decided to design something new. We try not to do that,
but sometimes it's necessary...

Well, it does look better, so no worries, it seems to be worth the
trouble :wink:

Emil

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hey folks,

I've just committed support for XEP-0085. I've tested it with pidgin,
and the google web client and everything seems ok. SC to SC is also fine.

Anyone else interested in trying it out?

Cheers
Emil

Emil Ivov написа:

···

Hey Damien,

Yes I had also noticed that we seem to be incompatible with pidgin, and
other clients for that matter, when delivery or handling typing
notifications.

I've just checked and it appears that the reason is actually quite
simple: pidgin uses "XEP-0085: Chat State Notifications" while we are
apparently handling them through "XEP-0022: Message Events" which is now
deprecated.

Luckily the smack api supports both methods (kudos for the guys from
Ignite Realtime) so correcting the problem should be an easy fix. I
guess I'll try to find the time and implement it some time next week but
if anyone is willing to have a go then please let me know.

Cheers
Emil

Damien Roth написа:

Hello,

Yesterday I've add my jabber account in SC to try the pro-actives
notifications with this protocol.
While processing the test, I got a problem with the typing notification event.

My contact can receive notifications when I'm writing a message or
stop (she was using pidgin) but I don't receive a notification when
she was typing a message.
I read the debug log of pidgin and an event was send.

I've done some research but I haven't found why. No methods from the
subclass IncomingMessageEventsListener (located in
OperationSetTypingNotificationJabberImpl) is ever called.
The implementation seems to be correct, I've checked with the
documentation of the Smack library

Does someone have this bug ?

@+

Damien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hello,

I also tested and it works fine.

Bye

···

2008/8/18 Emil Ivov <emcho@sip-communicator.org>:

Hey folks,

I've just committed support for XEP-0085. I've tested it with pidgin,
and the google web client and everything seems ok. SC to SC is also fine.

Anyone else interested in trying it out?

Cheers
Emil

Emil Ivov написа:

Hey Damien,

Yes I had also noticed that we seem to be incompatible with pidgin, and
other clients for that matter, when delivery or handling typing
notifications.

I've just checked and it appears that the reason is actually quite
simple: pidgin uses "XEP-0085: Chat State Notifications" while we are
apparently handling them through "XEP-0022: Message Events" which is now
deprecated.

Luckily the smack api supports both methods (kudos for the guys from
Ignite Realtime) so correcting the problem should be an easy fix. I
guess I'll try to find the time and implement it some time next week but
if anyone is willing to have a go then please let me know.

Cheers
Emil

Damien Roth написа:

Hello,

Yesterday I've add my jabber account in SC to try the pro-actives
notifications with this protocol.
While processing the test, I got a problem with the typing notification event.

My contact can receive notifications when I'm writing a message or
stop (she was using pidgin) but I don't receive a notification when
she was typing a message.
I read the debug log of pidgin and an event was send.

I've done some research but I haven't found why. No methods from the
subclass IncomingMessageEventsListener (located in
OperationSetTypingNotificationJabberImpl) is ever called.
The implementation seems to be correct, I've checked with the
documentation of the Smack library

Does someone have this bug ?

@+

Damien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Damien ROTH
Programmeur n.m : Celui qui résout un problème que vous n'aviez pas,
d'une façon que vous ne comprenez pas.