Opened 12 years ago

#79 new defect

Filter duplicate Jabber login notices

Reported by: kchen@MIT.EDU Owned by: nelhage@mit.edu
Priority: minor Milestone:
Component: jabber Keywords:
Cc:

Description

GMail seems to send multiple jabber login messages whenever someone logs in (or upon status change, or even when someone is constantly unavailable). Barnowl should not display such a message if there is no status change.

For example:

LOGIN for foo@gmail.com () 14:46 LOGIN for foo@gmail.com () 14:46 LOGIN for foo@gmail.com () 14:46 LOGIN for foo@gmail.com () 14:46 LOGIN for bar@gmail.com () 14:46 LOGIN for bar@gmail.com () 14:46 LOGIN for bar@gmail.com () 14:46

Or:

LOGOUT (unavailable) for baz@gmail.com () 15:19 LOGOUT (unavailable) for baz@gmail.com () 15:19

Each set of messages is received in the same second.

Here are the xml messages for foo and baz -- they're not duplicates.

<presence from='foo@gmail.com/gmail.12C3F449' to='kchen@mit.edu'><priority>0</priority><caps:c ext='pmuc-v1 sms-v1' node='http://mail.google.com/xmpp/client/caps' ver='1.1' xmlns:caps='http://jabber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'/></presence>

<presence from='foo@gmail.com/gmail.12C3F449' to='kchen@mit.edu'><priority>0</priority><caps:c ext='pmuc-v1 sms-v1' node='http://mail.google.com/xmpp/client/caps' ver='1.1' xmlns:caps='http://jabber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'><photo/></x>></presence>

<presence from='foo@gmail.com/gmail.12C3F449' to='kchen@mit.edu'><priority>24</priority><caps:c ext='pmuc-v1 sms-v1' node='http://mail.google.com/xmpp/client/caps' ver='1.1' xmlns:caps='http://jabber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'><photo/></x></presence>

<presence from='foo@gmail.com/gmail.12C3F449' to='kchen@mit.edu'><priority>24</priority><caps:c ext='pmuc-v1 sms-v1 vavinvite-v1' node='http://mail.google.com/xmpp/client/caps' ver='1.1' xmlns:caps='http://jabbber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'><photo/></x></presence>

<presence from='baz@gmail.com/gmail.12E2196C' to='kchen@mit.edu' type='unavailable'><caps:c ext='pmuc-v1 sms-v1' node='http://mail.google.com/xmpp/client/caps' ver='1.1' xmlns:caps='http://jabber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'/></presence>

<presence from='baz@gmail.com/gmail.12E2196C' to='kchen@mit.edu' type='unavailable'><caps:c ext='pmuc-v1 sms-v1 vavinvite-v1' node='http://mail.google.com/xmpp/client/caps' ver='1.1' xmlns:caps='http://jabber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'/></presence>

Change History (0)

Note: See TracTickets for help on using tickets.