From 0f5727a651bc90ab4fbe8c63e62a4a5d251e906f Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 22 Dec 2008 17:56:33 +0000 Subject: Start file transfer if the state is already open when we get the unix socket Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2012 --- libempathy/empathy-tp-file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 34f570f45..c21d780f9 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -753,6 +753,9 @@ tp_file_method_cb (TpProxy *proxy, tp_file->priv->unix_socket_path = g_value_dup_string (address); DEBUG ("Got unix socket path: %s", tp_file->priv->unix_socket_path); + + if (tp_file->priv->state == EMP_FILE_TRANSFER_STATE_OPEN) + tp_file_start_transfer (tp_file); } /** -- cgit v1.2.3