1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Update for new post stream

This commit is contained in:
Toby Zerner
2015-05-29 18:23:01 +09:30
parent cb1dfe1726
commit 5b323d7c08

View File

@@ -35,7 +35,7 @@ app.initializers.add('sticky', function() {
function toggleSticky() {
this.save({isSticky: !this.isSticky()}).then(discussion => {
if (app.current instanceof DiscussionPage) {
app.current.stream().sync();
app.current.stream.sync();
}
m.redraw();
});