Merge pull request #3092 from Raven24/self-follow
create a dummy-participation js object, for the post to appear as followed by self
This commit is contained in:
commit
2646352cb1
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