• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

dev


Commit MetaInfo

Révisiond25c36875b7deb18477f1f855facbbea87126002 (tree)
l'heure2013-02-23 19:03:24
AuteurKimura Youichi <kim.upsilon@bucy...>
CommiterKimura Youichi

Message de Log

UserStreamsのunfollowイベントでエラーが起きていたのを修正

unfollow イベントに未対応であったため、未知のイベントとしてエラーログを吐き出していた模様。

Change Summary

Modification

--- a/OpenTween/MyCommon.cs
+++ b/OpenTween/MyCommon.cs
@@ -213,9 +213,10 @@ namespace OpenTween
213213 Deleted = 256,
214214 ListCreated = 512,
215215 ListUpdated = 1024,
216+ Unfollow = 2048,
216217
217218 All = (None | Favorite | Unfavorite | Follow | ListMemberAdded | ListMemberRemoved |
218- Block | Unblock | UserUpdate | Deleted | ListCreated | ListUpdated),
219+ Block | Unblock | UserUpdate | Deleted | ListCreated | ListUpdated | Unfollow),
219220 }
220221
221222 public static void TraceOut(Exception ex, string Message)
--- a/OpenTween/Resources/ChangeLog.txt
+++ b/OpenTween/Resources/ChangeLog.txt
@@ -3,6 +3,7 @@
33 ==== Ver 1.0.9-beta2(2013/xx/xx)
44 * CHG: APIレートリミット関連の実装を修正
55 * FIX: アイコンキャッシュの破棄時にエラーが出ることがある問題を修正
6+ * FIX: UserStreamsのunfollowイベントでエラーが起きていたのを修正
67
78 ==== Ver 1.0.9-beta1(2013/02/08)
89 * ベータ版です
--- a/OpenTween/Twitter.cs
+++ b/OpenTween/Twitter.cs
@@ -4250,6 +4250,7 @@ namespace OpenTween
42504250 new EventTypeTableElement("deleted", MyCommon.EVENTTYPE.Deleted),
42514251 new EventTypeTableElement("list_created", MyCommon.EVENTTYPE.ListCreated),
42524252 new EventTypeTableElement("list_updated", MyCommon.EVENTTYPE.ListUpdated),
4253+ new EventTypeTableElement("unfollow", MyCommon.EVENTTYPE.Unfollow),
42534254 };
42544255
42554256 public MyCommon.EVENTTYPE EventNameToEventType(string EventName)
@@ -4416,6 +4417,8 @@ namespace OpenTween
44164417 }
44174418 evt.Target = "";
44184419 break;
4420+ case "unfollow":
4421+ return;
44194422 case "favorite":
44204423 case "unfavorite":
44214424 evt.Target = "@" + eventData.TargetObject.User.ScreenName + ":" + WebUtility.HtmlDecode(eventData.TargetObject.Text);