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'),
|
display_username: currentUser.get('name'),
|
||||||
username: currentUser.get('username'),
|
username: currentUser.get('username'),
|
||||||
user_id: currentUser.get('id'),
|
user_id: currentUser.get('id'),
|
||||||
avatar_template: currentUser.get('avatar_template'),
|
uploaded_avatar_id: currentUser.get('uploaded_avatar_id'),
|
||||||
metaData: this.get('metaData'),
|
|
||||||
archetype: this.get('archetypeId'),
|
archetype: this.get('archetypeId'),
|
||||||
post_type: Discourse.Site.currentProp('post_types.regular'),
|
post_type: Discourse.Site.currentProp('post_types.regular'),
|
||||||
target_usernames: this.get('targetUsernames'),
|
target_usernames: this.get('targetUsernames'),
|
||||||
actions_summary: Em.A(),
|
actions_summary: Em.A(),
|
||||||
moderator: currentUser.get('moderator'),
|
moderator: currentUser.get('moderator'),
|
||||||
|
admin: currentUser.get('admin'),
|
||||||
yours: true,
|
yours: true,
|
||||||
newPost: true,
|
newPost: true,
|
||||||
auto_close_time: Discourse.Utilities.timestampFromAutocloseString(this.get('auto_close_time'))
|
auto_close_time: Discourse.Utilities.timestampFromAutocloseString(this.get('auto_close_time'))
|
||||||
|
|
Loading…
Reference in New Issue