#344 closed defect (fixed)

Jabber away state/message parsing not correct

Reported by: wilmer Owned by:
Priority: normal Milestone: 1.2
Component: Jabber Version: devel
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:


12:22:32 @     root| jabber(wilmer@) - Buddy xxx/gaim898d345c (0)
12:22:32 @     root| Away state: Away
12:22:32 @     root| Away message: Sorry, I ran out for a bit!
12:22:32 @     root| jabber(wilmer@) - Buddy xxx/gmail.48d94eef (0)
12:22:32 @     root| Away state: Away
12:22:32 @     root| Away message: (none)

Clearly Mr. X is away. But:

12:31:00 [BEE]     -!-     xxx [xxx]
12:31:00 [BEE]     -!-      ircname  : 
12:31:00 [BEE]     -!-      server   : wilmer@ [jabber network]
12:31:00 [BEE]     -!-     End of WHOIS

I have to fix that. Good thing I have this big xmlconsole logfile:

wilmer@scruffy:~$ ls -l .irssi/irclogs/BEE/raw.log
-rw------- 1 wilmer eng 789M Jan  7 12:33 .irssi/irclogs/BEE/raw.log

Probably some problem with handing multiple resources.

Attachments (0)

Change History (1)

comment:1 Changed at 2008-01-11T13:21:30Z by wilmer

Resolution: fixed
Status: newclosed

Okay, I think the problem is that at once the GMail resource went from present+priority 24 to away+priority 0, while the Gaim resource has the same priority value.

Also there was a typo in the handling of <presence type="unavailable"> tags which made pretty much everyone show up as not away when one resource disappears and there's another one left.

This should be fixed in changeset:devel,299.

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.