[Pidgin] #12519: Patch for "pounce when my status is..."

Pidgin trac at pidgin.im
Fri Aug 27 01:27:06 EDT 2010


#12519: Patch for "pounce when my status is..."
--------------------------------------------+-------------------------------
 Reporter:  grigoryj                        |        Owner:  darkrain42
     Type:  patch                           |       Status:  new       
Milestone:  Patches Needing Improvement     |    Component:  libpurple 
  Version:  2.7.3                           |   Resolution:            
 Keywords:  pidgin libpurple pounce status  |  
--------------------------------------------+-------------------------------

Comment(by grigoryj):

 * I fixed the typo immediately - don't have a slightest idea how that
 backtick got there :)
  * Well, the next patch I'm going to write is "expirable buddy pounces" -
 so that you can set a date/time on which the pounce would expire. That
 would make use of generic fields as well. Like so:
  {{{
   <fields>
    <field name = "status" value = "away"/>
    <field name = "expires" value = "20/08/2010 14:00"/>
   <fields>
  }}}
  As for having multiple statuses, we can still use this xml format for
 them. Just add a new `status' field for each of the desired statuses and
 push them to a list as we parse the xml:
  {{{
   <fields>
    <field name = "status" value = "away"/>
    <field name = "status" value = "extended away"/>
   <fields>
  }}}
  I just don't like the idea of adding new constructions for each field
 type - that overcomplexifies the structure of the xml document and the
 parsing becomes more cumbersome.

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


More information about the Tracker mailing list