diff options
author | EionRobb <none@none> | 2016-10-14 00:44:46 +0300 |
---|---|---|
committer | EionRobb <none@none> | 2016-10-14 00:44:46 +0300 |
commit | 2e1ac473a7a07b20298c7669a12050562f61b370 (patch) | |
tree | 038f2338ae60437524edfd7714a3300d0bd227dc | |
parent | 7ed6895fcf4d89334ce1c5b84a7aa667c6cb779c (diff) |
Switch to using the Live/MS/OAuth login flow for all account types
See issue #479
-rw-r--r-- | skypeweb/libskypeweb.c | 7 |
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);
|