| 85 session->port = purple_account_get_int( account, MXIT_CONFIG_SERVER_PORT, DEFAULT_PORT ); |
85 session->port = purple_account_get_int( account, MXIT_CONFIG_SERVER_PORT, DEFAULT_PORT ); |
| 86 g_strlcpy( session->distcode, purple_account_get_string( account, MXIT_CONFIG_DISTCODE, "" ), sizeof( session->distcode ) ); |
86 g_strlcpy( session->distcode, purple_account_get_string( account, MXIT_CONFIG_DISTCODE, "" ), sizeof( session->distcode ) ); |
| 87 g_strlcpy( session->clientkey, purple_account_get_string( account, MXIT_CONFIG_CLIENTKEY, "" ), sizeof( session->clientkey ) ); |
87 g_strlcpy( session->clientkey, purple_account_get_string( account, MXIT_CONFIG_CLIENTKEY, "" ), sizeof( session->clientkey ) ); |
| 88 g_strlcpy( session->dialcode, purple_account_get_string( account, MXIT_CONFIG_DIALCODE, "" ), sizeof( session->dialcode ) ); |
88 g_strlcpy( session->dialcode, purple_account_get_string( account, MXIT_CONFIG_DIALCODE, "" ), sizeof( session->dialcode ) ); |
| 89 session->http = purple_account_get_bool( account, MXIT_CONFIG_USE_HTTP, FALSE ); |
89 session->http = purple_account_get_bool( account, MXIT_CONFIG_USE_HTTP, FALSE ); |
| 90 session->iimages = g_hash_table_new( g_str_hash, g_str_equal ); |
90 session->inline_images = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_object_unref); |
| 91 session->rx_state = RX_STATE_RLEN; |
91 session->rx_state = RX_STATE_RLEN; |
| 92 session->http_interval = MXIT_HTTP_POLL_MIN; |
92 session->http_interval = MXIT_HTTP_POLL_MIN; |
| 93 session->http_last_poll = mxit_now_milli(); |
93 session->http_last_poll = mxit_now_milli(); |
| 94 session->async_http_reqs = purple_http_connection_set_new(); |
94 session->async_http_reqs = purple_http_connection_set_new(); |
| 95 |
95 |