OSDN Git Service

1001 Tween_v1.0.0.1-beta
authorkiri_feather <kiri_feather@users.sourceforge.jp>
Sat, 12 Mar 2011 03:03:31 +0000 (03:03 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:19:15 +0000 (23:19 +0900)
公式RTの強制重複除外。テスト実装

git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1490 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/My Project/AssemblyInfo.vb
Tween/StatusDictionary.vb

index 9787687..e4f3d92 100644 (file)
@@ -55,5 +55,5 @@ Imports System.Runtime.InteropServices
 ' <Assembly: AssemblyVersion("1.0.*")> 
 
 <Assembly: AssemblyVersion("0.1.0.0")> 
-<Assembly: AssemblyFileVersion("1.0.0.0")> 
+<Assembly: AssemblyFileVersion("1.0.0.1")> 
 
index 75f6694..fff9ed2 100644 (file)
@@ -1024,6 +1024,8 @@ Public NotInheritable Class TabInformations
                         End If
                     Else
                         If Item.IsFav AndAlso Item.RetweetedId > 0 Then Item.IsFav = False
+                        '既に持っている公式RTは捨てる
+                        If Me._retweets.ContainsKey(Item.RetweetedId) Then Exit Sub
                         _statuses.Add(Item.StatusId, Item)
                     End If
                     If Item.RetweetedId > 0 Then