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:
df4e13d
)
ふぁぼイベント時にFavoritesタブに発言を追加する際はAddPostQueueメソッドを使用する
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Tue, 8 Nov 2016 13:18:45 +0000
(22:18 +0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Fri, 11 Nov 2016 15:10:48 +0000
(
00:10
+0900)
UI スレッド外からの操作のため AddPostImmediately を直接呼び出すべきではない
OpenTween/Twitter.cs
patch
|
blob
|
history
diff --git
a/OpenTween/Twitter.cs
b/OpenTween/Twitter.cs
index
a60fb5e
..
f1c3238
100644
(file)
--- a/
OpenTween/Twitter.cs
+++ b/
OpenTween/Twitter.cs
@@
-1998,8
+1998,7
@@
namespace OpenTween
if (eventData.Event == "favorite")
{
var favTab = tabinfo.GetTabByType(MyCommon.TabUsageType.Favorites);
- if (!favTab.Contains(post.StatusId))
- favTab.AddPostImmediately(post.StatusId, post.IsRead);
+ favTab.AddPostQueue(post);
if (tweetEvent.Source.Id == this.UserId)
{