BUGFIX: flashing incorrect avatar while posting

BUGFIX: incorrect trophy for admins while posting
This commit is contained in:
Sam 2014-06-02 11:26:47 +10:00
parent bbf709904e
commit 7653262a07
1 changed files with 2 additions and 2 deletions

View File

@ -453,13 +453,13 @@ Discourse.Composer = Discourse.Model.extend({
display_username: currentUser.get('name'),
username: currentUser.get('username'),
user_id: currentUser.get('id'),
avatar_template: currentUser.get('avatar_template'),
metaData: this.get('metaData'),
uploaded_avatar_id: currentUser.get('uploaded_avatar_id'),
archetype: this.get('archetypeId'),
post_type: Discourse.Site.currentProp('post_types.regular'),
target_usernames: this.get('targetUsernames'),
actions_summary: Em.A(),
moderator: currentUser.get('moderator'),
admin: currentUser.get('admin'),
yours: true,
newPost: true,
auto_close_time: Discourse.Utilities.timestampFromAutocloseString(this.get('auto_close_time'))