mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FEATURE: Expand truncated posts in the user stream
This commit is contained in:
@ -44,7 +44,7 @@ class UserActionSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def include_truncated?
|
||||
excerpt != cooked
|
||||
cooked.length > 300
|
||||
end
|
||||
|
||||
def avatar_template
|
||||
|
Reference in New Issue
Block a user