@ -15,7 +15,7 @@ import { showMessageRequestBannerOutsideRedux } from '../state/ducks/userConfig'
import { getHideMessageRequestBannerOutsideRedux } from '../state/selectors/userConfig' ;
import { getHideMessageRequestBannerOutsideRedux } from '../state/selectors/userConfig' ;
import { GoogleChrome } from '../util' ;
import { GoogleChrome } from '../util' ;
import {
import {
changeToDisappearing MessageConversationTyp e,
changeToDisappearing ConversationMod e,
setExpirationStartTimestamp ,
setExpirationStartTimestamp ,
} from '../util/expiringMessages' ;
} from '../util/expiringMessages' ;
import { LinkPreviews } from '../util/linkPreviews' ;
import { LinkPreviews } from '../util/linkPreviews' ;
@ -347,7 +347,7 @@ async function markConvoAsReadIfOutgoingMessage(
expireTimer > 0 &&
expireTimer > 0 &&
Boolean ( message . get ( 'expirationStartTimestamp' ) ) === false
Boolean ( message . get ( 'expirationStartTimestamp' ) ) === false
) {
) {
const expirationMode = changeToDisappearing MessageConversationTyp e(
const expirationMode = changeToDisappearing ConversationMod e(
conversation ,
conversation ,
expirationType ,
expirationType ,
expireTimer
expireTimer
@ -397,7 +397,7 @@ export async function handleMessageJob(
messageModel . get ( 'expireTimer' ) > 0 &&
messageModel . get ( 'expireTimer' ) > 0 &&
Boolean ( messageModel . get ( 'expirationStartTimestamp' ) ) === false
Boolean ( messageModel . get ( 'expirationStartTimestamp' ) ) === false
) {
) {
const expirationMode = changeToDisappearing MessageConversationTyp e(
const expirationMode = changeToDisappearing ConversationMod e(
conversation ,
conversation ,
messageModel . get ( 'expirationType' ) ,
messageModel . get ( 'expirationType' ) ,
messageModel . get ( 'expireTimer' )
messageModel . get ( 'expireTimer' )
@ -436,7 +436,7 @@ export async function handleMessageJob(
}
}
const expireTimerUpdate = expirationTimerUpdate ? . expireTimer || 0 ;
const expireTimerUpdate = expirationTimerUpdate ? . expireTimer || 0 ;
const expirationTypeUpdate = changeToDisappearing MessageConversationTyp e(
const expirationTypeUpdate = changeToDisappearing ConversationMod e(
conversation ,
conversation ,
expirationTimerUpdate ? . expirationType ,
expirationTimerUpdate ? . expirationType ,
expireTimerUpdate
expireTimerUpdate