summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/mobile/tags/home-timeline.tag6
1 files changed, 6 insertions, 0 deletions
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);