create a dummy-participation object, that the post appeas followed by self
This commit is contained in:
parent
a5a6378eb0
commit
ef292c40eb
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ app.views.Publisher = Backbone.View.extend({
|
|||
$(app.publisher.el).trigger('ajax:success');
|
||||
}
|
||||
if(app.stream) {
|
||||
statusMessage.set({"user_participation": new app.models.Participation});
|
||||
app.stream.posts.add(statusMessage.toJSON());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue