Mercurial > pidgin.yaz
comparison src/protocols/jabber/presence.c @ 11872:ea0f39933003
[gaim-migrate @ 14163]
quit shoing a blank message when you just want to be "available" on jabber
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 28 Oct 2005 14:12:07 +0000 |
parents | 11e95968c9ff |
children | f82b6d559ea7 |
comparison
equal
deleted
inserted
replaced
11871:3404646c6886 | 11872:ea0f39933003 |
---|---|
597 } | 597 } |
598 | 598 |
599 if(msg) | 599 if(msg) |
600 *msg = gaim_status_get_attr_string(status, "message"); | 600 *msg = gaim_status_get_attr_string(status, "message"); |
601 | 601 |
602 /* if the message is blank, then there really isn't a message */ | |
603 if(*msg && !**msg) | |
604 *msg = NULL; | |
605 | |
602 if(priority) | 606 if(priority) |
603 *priority = gaim_status_get_attr_int(status, "priority"); | 607 *priority = gaim_status_get_attr_int(status, "priority"); |
604 } | 608 } |
605 | 609 |
606 } | 610 } |