Mercurial > pidgin
comparison src/server.c @ 12082:3b536c791a64
[gaim-migrate @ 14379]
Don't attempt to auto-reply if our current status does not have a
message set.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Nov 2005 07:31:44 +0000 |
parents | e67993da8a22 |
children | 2cbb5993c819 |
comparison
equal
deleted
inserted
replaced
12081:5a08737f76c6 | 12082:3b536c791a64 |
---|---|
679 return; | 679 return; |
680 | 680 |
681 away_msg = gaim_value_get_string( | 681 away_msg = gaim_value_get_string( |
682 gaim_status_get_attr_value(status, "message")); | 682 gaim_status_get_attr_value(status, "message")); |
683 | 683 |
684 if ((away_msg == NULL) || (*away_msg == '\0')) | |
685 return; | |
686 | |
684 /* apply default fonts and colors */ | 687 /* apply default fonts and colors */ |
685 /* TODO: Do we even need this? */ | 688 /* TODO: Do we even need this? */ |
686 tmpmsg = stylize(away_msg, MSG_LEN); | 689 tmpmsg = stylize(away_msg, MSG_LEN); |
687 | 690 |
688 /* Move this to oscar.c! */ | 691 /* Move this to oscar.c! */ |