mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:32:45 +08:00
Merge pull request #2215 from vikhyat/fix-post-creation-jitter
Fix missing avatar while a post is being created
This commit is contained in:
commit
89a3311bf5
|
@ -161,7 +161,7 @@ Discourse.Composer = Discourse.Model.extend({
|
|||
return this.get('reply') !== this.get('originalText');
|
||||
}.property('reply', 'originalText'),
|
||||
|
||||
/**
|
||||
/**
|
||||
Number of missing characters in the title until valid.
|
||||
|
||||
@property missingTitleCharacters
|
||||
|
@ -453,6 +453,7 @@ 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'),
|
||||
archetype: this.get('archetypeId'),
|
||||
post_type: Discourse.Site.currentProp('post_types.regular'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user