Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2015-07-31 03:40:58 +0300
committerEion Robb <eion@robbmob.com>2015-07-31 03:40:58 +0300
commit7102a6ebcf933916c2d38694408483f3ef74da95 (patch)
tree5343c7d5f742bb5870ebbc011823d74d0795bae1
parentaab15d600357e185d2848a22b68b3a8bb078f7c1 (diff)
parente715b4f14b19faa30241a63195c0668ceab04c49 (diff)
Merge pull request #315 from krzysz00/connection-status-fix
SkypeWeb : Only say we're connected when we're ready to send messages
-rw-r--r--skypeweb/.gitignore1
-rw-r--r--skypeweb/libskypeweb.c5
-rw-r--r--skypeweb/skypeweb_login.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/skypeweb/.gitignore b/skypeweb/.gitignore
new file mode 100644
index 0000000..f6a43ef
--- /dev/null
+++ b/skypeweb/.gitignore
@@ -0,0 +1 @@
+libskypeweb.so
diff --git a/skypeweb/libskypeweb.c b/skypeweb/libskypeweb.c
index dfad301..e4702c4 100644
--- a/skypeweb/libskypeweb.c
+++ b/skypeweb/libskypeweb.c
@@ -33,12 +33,13 @@ skypeweb_do_all_the_things(SkypeWebAccount *sa)
purple_timeout_remove(sa->authcheck_timeout);
skypeweb_check_authrequests(sa);
sa->authcheck_timeout = purple_timeout_add_seconds(120, (GSourceFunc)skypeweb_check_authrequests, sa);
-
+ purple_connection_set_state(sa->pc, PURPLE_CONNECTED);
+
skypeweb_get_friend_list(sa);
skypeweb_poll(sa);
skype_web_get_offline_history(sa);
-
+
skypeweb_set_status(sa->account, purple_account_get_active_status(sa->account));
} else {
//Too soon!
diff --git a/skypeweb/skypeweb_login.c b/skypeweb/skypeweb_login.c
index 26e23b1..3641695 100644
--- a/skypeweb/skypeweb_login.c
+++ b/skypeweb/skypeweb_login.c
@@ -51,8 +51,6 @@ skypeweb_login_did_auth(PurpleUtilFetchUrlData *url_data, gpointer user_data, co
skypeweb_update_cookies(sa, url_text);
- purple_connection_set_state(sa->pc, PURPLE_CONNECTED);
-
skypeweb_do_all_the_things(sa);
}