adjust snippet function parameters to get a good looking result

pull/855/head
Ryan Zhao 2 years ago
parent 66d7226d80
commit ffb3f0dd90

@ -1075,7 +1075,7 @@ public extension SessionThreadViewModel {
\(interaction[.id]) AS \(ViewModel.interactionIdKey),
\(interaction[.variant]) AS \(ViewModel.interactionVariantKey),
\(interaction[.timestampMs]) AS \(ViewModel.interactionTimestampMsKey),
snippet(\(interactionFullTextSearch), -1, '', '', '...', 15) AS \(ViewModel.interactionBodyKey),
snippet(\(interactionFullTextSearch), -1, '', '', '...', 6) AS \(ViewModel.interactionBodyKey),
\(interaction[.authorId]),
IFNULL(\(profile[.nickname]), \(profile[.name])) AS \(ViewModel.authorNameInternalKey),

Loading…
Cancel
Save