@@ -1323,8 +1323,13 @@ private async void TimerTimeline_Elapsed(object sender, EventArgs e)
13231323 if ( ResetTimers . Timeline || homeCounter <= 0 && SettingManager . Common . TimelinePeriod > 0 )
13241324 {
13251325 Interlocked . Exchange ( ref homeCounter , SettingManager . Common . TimelinePeriod ) ;
1326- if ( ! tw . IsUserstreamDataReceived && ! ResetTimers . Timeline )
1327- refreshTasks . Add ( this . RefreshTabAsync < HomeTabModel > ( ) ) ;
1326+ if ( ! ResetTimers . Timeline )
1327+ {
1328+ if ( ! tw . IsUserstreamDataReceived )
1329+ refreshTasks . Add ( this . RefreshTabAsync < HomeTabModel > ( ) ) ;
1330+ if ( this . mastodon != null )
1331+ refreshTasks . Add ( this . RefreshTabAsync < MastodonHomeTab > ( ) ) ;
1332+ }
13281333 ResetTimers . Timeline = false ;
13291334 }
13301335 if ( ResetTimers . Reply || mentionCounter <= 0 && SettingManager . Common . ReplyPeriod > 0 )
@@ -1394,6 +1399,7 @@ private async void TimerTimeline_Elapsed(object sender, EventArgs e)
13941399 this . RefreshTabAsync < PublicSearchTabModel > ( ) ,
13951400 this . RefreshTabAsync < UserTimelineTabModel > ( ) ,
13961401 this . RefreshTabAsync < ListTimelineTabModel > ( ) ,
1402+ this . RefreshTabAsync < MastodonHomeTab > ( ) ,
13971403 this . doGetFollowersMenu ( ) ,
13981404 this . RefreshTwitterConfigurationAsync ( ) ,
13991405 } ) ;
@@ -9750,6 +9756,9 @@ private async void TweenMain_Shown(object sender, EventArgs e)
97509756 if ( SettingManager . Common . GetFav )
97519757 loadTasks . Add ( this . RefreshTabAsync < FavoritesTabModel > ( ) ) ;
97529758
9759+ if ( this . mastodon != null )
9760+ loadTasks . Add ( this . RefreshTabAsync < MastodonHomeTab > ( ) ) ;
9761+
97539762 var allTasks = Task . WhenAll ( loadTasks ) ;
97549763
97559764 var i = 0 ;
0 commit comments