| 4274 /* |
4274 /* |
| 4275 * Like jabber_login(), only different |
4275 * Like jabber_login(), only different |
| 4276 */ |
4276 */ |
| 4277 void jabber_register_user(GaimAccount *account) |
4277 void jabber_register_user(GaimAccount *account) |
| 4278 { |
4278 { |
| 4279 GaimConnection *gc = gaim_connection_new(account); |
4279 GaimConnection *gc = gaim_account_get_connection(account); |
| 4280 struct jabber_data *jd = gc->proto_data = g_new0(struct jabber_data, 1); |
4280 struct jabber_data *jd = gc->proto_data = g_new0(struct jabber_data, 1); |
| 4281 char *loginname = create_valid_jid(account->username, DEFAULT_SERVER, "Gaim"); |
4281 char *loginname = create_valid_jid(account->username, DEFAULT_SERVER, "Gaim"); |
| 4282 |
4282 |
| 4283 /* |
4283 /* |
| 4284 * These do nothing during registration |
4284 * These do nothing during registration |