Revert "Fix auto joining chats on connection"
This reverts commit fa9b331b39
.
This commit is contained in:
parent
114dedcdc9
commit
32161b1558
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,6 @@ static void on_get_dialog_list_done (struct tgl_state *TLS, void *callback_extra
|
|||
break;
|
||||
}
|
||||
}
|
||||
purple_connection_set_state (conn->gc, PURPLE_CONNECTED);
|
||||
}
|
||||
|
||||
void on_user_get_info (struct tgl_state *TLS, void *info_data, int success, struct tgl_user *U) {
|
||||
|
@ -393,6 +392,7 @@ void on_ready (struct tgl_state *TLS) {
|
|||
debug ("on_ready().");
|
||||
connection_data *conn = TLS->ev_base;
|
||||
|
||||
purple_connection_set_state (conn->gc, PURPLE_CONNECTED);
|
||||
purple_connection_set_display_name (conn->gc, purple_account_get_username (conn->pa));
|
||||
purple_blist_add_account (conn->pa);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue