Change Phone Number notifications

This commit is contained in:
Fedor Indutny 2021-08-05 16:34:49 -07:00 committed by GitHub
parent 4b82ac387b
commit a001882d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 277 additions and 39 deletions

View file

@ -3522,7 +3522,8 @@ async function hasUserInitiatedMessages(
'message-history-unsynced',
'keychange',
'group-v1-migration',
'universal-timer-notification'
'universal-timer-notification',
'change-number-notification'
)
) AND
json_extract(json, '$.expirationTimerUpdate') IS NULL
@ -4226,7 +4227,8 @@ async function getLastConversationActivity({
'message-history-unsynced',
'keychange',
'group-v1-migration',
'universal-timer-notification'
'universal-timer-notification',
'change-number-notification'
)
) AND
(
@ -4277,7 +4279,8 @@ async function getLastConversationPreview({
'verified-change',
'message-history-unsynced',
'group-v1-migration',
'universal-timer-notification'
'universal-timer-notification',
'change-number-notification'
)
) AND NOT
(