OSDN Git Service

ユーザーTLタブで前データ取得が動かなかったのを修正
authoranis774 <anis774@users.sourceforge.jp>
Fri, 31 Dec 2010 02:23:59 +0000 (02:23 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:18:09 +0000 (23:18 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1286 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Twitter.vb

index a2ce6d9..a5d06d5 100644 (file)
@@ -1370,6 +1370,7 @@ Public Class Twitter
         For Each status As TwitterDataModel.Status In items
             Dim item As PostClass = CreatePostsFromStatusData(status)
             If item Is Nothing Then Continue For
+            If item.Id < tab.OldestId Then tab.OldestId = item.Id
             item.IsRead = read
             If item.IsMe AndAlso Not read AndAlso _readOwnPost Then item.IsRead = True
             If tab IsNot Nothing Then item.RelTabName = tab.TabName