- Use unicode when selecting emoji through picker - Convert shortcodes to unicode when storing text input server-side - Do not convert shortcodes in JS anymore
This commit is contained in:
parent
c42092ba7a
commit
e2685ccc81
15 changed files with 69 additions and 71 deletions
|
@ -21,6 +21,7 @@ class PostStatusService < BaseService
|
|||
|
||||
media = validate_media!(options[:media_ids])
|
||||
status = nil
|
||||
|
||||
ApplicationRecord.transaction do
|
||||
status = account.statuses.create!(text: text,
|
||||
thread: in_reply_to,
|
||||
|
@ -31,6 +32,7 @@ class PostStatusService < BaseService
|
|||
application: options[:application])
|
||||
attach_media(status, media)
|
||||
end
|
||||
|
||||
process_mentions_service.call(status)
|
||||
process_hashtags_service.call(status)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue