OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9cfc1
)
AppendSettingDialog.SaveConfig内でのVerifyCredentialsの呼び出しを削除
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Thu, 5 May 2016 16:47:23 +0000
(
01:47
+0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Thu, 5 May 2016 17:02:21 +0000
(
02:02
+0900)
Tween Ver.1.0.5.0 以前の設定ファイルでは UserAccount.UserId が存在しないため
VerifyCredentials を使用して UserId を設定する必要があったが、OpenTween の場合は
Tween から設定ファイルを移行する場合に Consumer Key の違いで常に再認証が必要なため
UserId が設定されていないアカウントはそもそも Access Token も有効ではない。
OpenTween/AppendSettingDialog.cs
patch
|
blob
|
history
diff --git
a/OpenTween/AppendSettingDialog.cs
b/OpenTween/AppendSettingDialog.cs
index
8667592
..
ecfb5ab
100644
(file)
--- a/
OpenTween/AppendSettingDialog.cs
+++ b/
OpenTween/AppendSettingDialog.cs
@@
-112,12
+112,6
@@
namespace OpenTween
{
var u = settingCommon.UserAccounts[userAccountIdx];
this.tw.Initialize(u.Token, u.TokenSecret, u.Username, u.UserId);
-
- if (u.UserId == 0)
- {
- this.tw.VerifyCredentials();
- u.UserId = this.tw.UserId;
- }
}
else
{