Blur avatars of unapproved conversations
This commit is contained in:
parent
bbd7fd3854
commit
05703c2719
28 changed files with 474 additions and 124 deletions
|
@ -2326,7 +2326,9 @@ async function saveConversation(
|
|||
`
|
||||
).run({
|
||||
id,
|
||||
json: objectToJSON(omit(data, ['profileLastFetchedAt'])),
|
||||
json: objectToJSON(
|
||||
omit(data, ['profileLastFetchedAt', 'unblurredAvatarPath'])
|
||||
),
|
||||
|
||||
e164: e164 || null,
|
||||
uuid: uuid || null,
|
||||
|
@ -2399,7 +2401,9 @@ async function updateConversation(data: ConversationType): Promise<void> {
|
|||
`
|
||||
).run({
|
||||
id,
|
||||
json: objectToJSON(omit(data, ['profileLastFetchedAt'])),
|
||||
json: objectToJSON(
|
||||
omit(data, ['profileLastFetchedAt', 'unblurredAvatarPath'])
|
||||
),
|
||||
|
||||
e164: e164 || null,
|
||||
uuid: uuid || null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue