Reduce unnecessary or overly verbose logging
This commit is contained in:
parent
850482ea70
commit
089e2864b3
7 changed files with 16 additions and 17 deletions
|
@ -2828,7 +2828,7 @@ async function getLastConversationActivity({
|
|||
type = 'group-v2-change' AND
|
||||
json_extract(json, '$.groupV2Change.from') != $ourConversationId AND
|
||||
json_extract(json, '$.groupV2Change.details.length') = 1 AND
|
||||
json_extract(json, '$.groupV2Change.details[0].type') != 'member-remove' AND
|
||||
json_extract(json, '$.groupV2Change.details[0].type') = 'member-remove' AND
|
||||
json_extract(json, '$.groupV2Change.details[0].conversationId') != $ourConversationId
|
||||
)
|
||||
ORDER BY received_at DESC, sent_at DESC
|
||||
|
@ -2870,7 +2870,7 @@ async function getLastConversationPreview({
|
|||
type = 'group-v2-change' AND
|
||||
json_extract(json, '$.groupV2Change.from') != $ourConversationId AND
|
||||
json_extract(json, '$.groupV2Change.details.length') = 1 AND
|
||||
json_extract(json, '$.groupV2Change.details[0].type') != 'member-remove' AND
|
||||
json_extract(json, '$.groupV2Change.details[0].type') = 'member-remove' AND
|
||||
json_extract(json, '$.groupV2Change.details[0].conversationId') != $ourConversationId
|
||||
)
|
||||
ORDER BY received_at DESC, sent_at DESC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue