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:
authorEionRobb <none@none>2016-10-14 00:44:46 +0300
committerEionRobb <none@none>2016-10-14 00:44:46 +0300
commit2e1ac473a7a07b20298c7669a12050562f61b370 (patch)
tree038f2338ae60437524edfd7714a3300d0bd227dc
parent7ed6895fcf4d89334ce1c5b84a7aa667c6cb779c (diff)
Switch to using the Live/MS/OAuth login flow for all account types
See issue #479
-rw-r--r--skypeweb/libskypeweb.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/skypeweb/libskypeweb.c b/skypeweb/libskypeweb.c
index 1e618a0..ad05a5d 100644
--- a/skypeweb/libskypeweb.c
+++ b/skypeweb/libskypeweb.c
@@ -325,12 +325,7 @@ skypeweb_login(PurpleAccount *account)
if (purple_account_get_string(account, "refresh-token", NULL)) {
skypeweb_refresh_token_login(sa);
} else {
- if (strchr(purple_account_get_username(account), '@')) {
- //Has an email address for a username, probably a microsoft account?
- skypeweb_begin_oauth_login(sa);
- } else {
- skypeweb_begin_web_login(sa);
- }
+ skypeweb_begin_oauth_login(sa);
}
purple_signal_connect(purple_conversations_get_handle(), "conversation-updated", pc, PURPLE_CALLBACK(skypeweb_mark_conv_seen), NULL);