[Pidgin] #9626: away message is unset during login to AIM

Pidgin trac at pidgin.im
Mon Jul 6 00:52:37 EDT 2009


#9626: away message is unset during login to AIM
------------------------------------+---------------------------------------
 Reporter:  tmm1                    |        Owner:  MarkDoliner
     Type:  patch                   |       Status:  new        
Milestone:  Patches Needing Review  |    Component:  AIM        
  Version:  2.5.8                   |   Resolution:             
 Keywords:                          |  
------------------------------------+---------------------------------------

Comment(by darkrain42):

 Sorry, forgot to post the code. Here it is:

 {{{
 #
 # old_revision [ac87c285c7056f86005dc157b9870745de471f74]
 #
 # patch "libpurple/protocols/oscar/oscar.c"
 #  from [e11e875546106d01efbd959e5d1d89b8398c11db]
 #    to [8a94b09e8aeb48438395274cbd2d4c01911fa9ed]
 #
 ============================================================
 --- libpurple/protocols/oscar/oscar.c
 e11e875546106d01efbd959e5d1d89b8398c11db
 +++ libpurple/protocols/oscar/oscar.c
 8a94b09e8aeb48438395274cbd2d4c01911fa9ed
 @@ -3977,7 +3977,8 @@ static int purple_bosrights(OscarData *o
                 message = NULL;
         tmp = purple_markup_strip_html(message);
         itmsurl = purple_status_get_attr_string(status, "itmsurl");
 -       aim_srv_setextrainfo(od, FALSE, 0, TRUE, tmp, itmsurl);
 +
 +       aim_srv_setextrainfo(od, FALSE, 0, (message || itmsurl), tmp,
 itmsurl);
         g_free(tmp);

         presence = purple_status_get_presence(status);
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/9626#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list