From e2be59f56c99386d9c2a123cd031b2d94b588948 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 28 Aug 2017 09:45:26 +0900 Subject: [PATCH] [Client] Fix #736 --- CHANGELOG.md | 3 ++- src/web/app/mobile/tags/home-timeline.tag | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95d21ac05f..b819cd27f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ ChangeLog unreleased ---------- -* 投稿ページに次の投稿/前の投稿リンクを作成 (#734) +* Improvement: 投稿ページに次の投稿/前の投稿リンクを作成 (#734) +* Fix: モバイル版でおすすめユーザーをフォローしてもタイムラインが更新されない (#736) 2380 ---- diff --git a/src/web/app/mobile/tags/home-timeline.tag b/src/web/app/mobile/tags/home-timeline.tag index 5d5399f322..7357d13916 100644 --- a/src/web/app/mobile/tags/home-timeline.tag +++ b/src/web/app/mobile/tags/home-timeline.tag @@ -23,6 +23,12 @@ }); }); + this.fetch = () => { + this.api('posts/timeline').then(posts => { + this.refs.timeline.setPosts(posts); + }); + }; + this.on('mount', () => { this.stream.on('post', this.onStreamPost); this.stream.on('follow', this.onStreamFollow);