| 255 |
255 |
| 256 void |
256 void |
| 257 bonjour_dns_sd_set_jid(PurpleAccount *account, const char *hostname) |
257 bonjour_dns_sd_set_jid(PurpleAccount *account, const char *hostname) |
| 258 { |
258 { |
| 259 PurpleConnection *conn = purple_account_get_connection(account); |
259 PurpleConnection *conn = purple_account_get_connection(account); |
| 260 BonjourData *bd = conn->proto_data; |
260 BonjourData *bd = purple_connection_get_protocol_data(conn); |
| 261 const char *tmp, *account_name = purple_account_get_username(account); |
261 const char *tmp, *account_name = purple_account_get_username(account); |
| 262 |
262 |
| 263 /* Previously we allowed the hostname part of the jid to be set |
263 /* Previously we allowed the hostname part of the jid to be set |
| 264 * explicitly when it should always be the current hostname. |
264 * explicitly when it should always be the current hostname. |
| 265 * That is what this is intended to deal with. |
265 * That is what this is intended to deal with. |