# HG changeset patch # User Nathan Walp # Date 1130508727 0 # Node ID ea0f39933003f1d330dbc765315defdc68ea0572 # Parent 3404646c688621b80cb8653abde018a6f3a0a4ac [gaim-migrate @ 14163] quit shoing a blank message when you just want to be "available" on jabber committer: Tailor Script diff -r 3404646c6886 -r ea0f39933003 src/protocols/jabber/presence.c --- a/src/protocols/jabber/presence.c Fri Oct 28 08:35:48 2005 +0000 +++ b/src/protocols/jabber/presence.c Fri Oct 28 14:12:07 2005 +0000 @@ -599,6 +599,10 @@ if(msg) *msg = gaim_status_get_attr_string(status, "message"); + /* if the message is blank, then there really isn't a message */ + if(*msg && !**msg) + *msg = NULL; + if(priority) *priority = gaim_status_get_attr_int(status, "priority"); }