src/protocols/jabber/presence.c

changeset 11872
05cdcbf6f145
parent 11718
90804d019837
child 12265
8b65304c4d30
equal deleted inserted replaced
11871:fbe8a741d590 11872:05cdcbf6f145
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 }

mercurial