[Pidgin] #4052: extra 'buddy-status-changed' signals
Pidgin
trac at pidgin.im
Thu Dec 20 23:34:00 EST 2007
#4052: extra 'buddy-status-changed' signals
-------------------------+--------------------------------------------------
Reporter: andy753421 | Owner: MarkDoliner
Type: defect | Status: new
Priority: minor | Milestone:
Component: AIM | Version: 2.2.2
Resolution: | Keywords: oscar status
Pending: 0 |
-------------------------+--------------------------------------------------
Comment (by tmm1):
I'm seeing this behavior as well, and some added strangeness in terms of
the contents of the away message itself:
I'm using
purple_signal_connect(purple_blist_get_handle(), "buddy-status-changed",
&handle, PURPLE_CALLBACK(buddy_status_changed), NULL)
to output in the following format
buddy_status_changed( screen name, old status, new status, status
message )
# set away message to 'not here'
buddy_status_changed(TMM1, Available, Away, not here) # this is correct
buddy_status_changed(TMM1, Away, Away, ) # where did the away message go?
buddy_status_changed(TMM1, Away, Away, <html><body>not here</body></html>)
# converted to html.. ok..
# change away message to 'here now'
buddy_status_changed(TMM1, Away, Away, <html><body>not here</body></html>)
# this is the old away message
buddy_status_changed(TMM1, Away, Away, here now) # new away message, yay!
buddy_status_changed(TMM1, Away, Away, <html><body>not here</body></html>)
# what, the old one again??
buddy_status_changed(TMM1, Away, Away, <html><body>here now</body></html>)
# the new one, but now in html..
--
Ticket URL: <http://developer.pidgin.im/ticket/4052#comment:1>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list