BUGFIX: flashing incorrect avatar while posting
BUGFIX: incorrect trophy for admins while posting
This commit is contained in:
parent
bbf709904e
commit
7653262a07
|
@ -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'))
|
||||
|
|
Loading…
Reference in New Issue