| 127 msg = purple_status_get_attr_string(status, "message"); |
127 msg = purple_status_get_attr_string(status, "message"); |
| 128 if (msg && !*msg) |
128 if (msg && !*msg) |
| 129 msg = NULL; |
129 msg = NULL; |
| 130 |
130 |
| 131 status_id = purple_status_get_id(status); |
131 status_id = purple_status_get_id(status); |
| 132 if (strcmp(status_id, "invisible") == 0) { |
132 if (purple_strequal(status_id, "invisible")) { |
| 133 status_id = "offline"; |
133 status_id = "offline"; |
| 134 } |
134 } |
| 135 |
135 |
| 136 if (msg) { |
136 if (msg) { |
| 137 if (strlen(msg) > GG_STATUS_DESCR_MAXSIZE) { |
137 if (strlen(msg) > GG_STATUS_DESCR_MAXSIZE) { |