mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
null expiration for eph messages
This commit is contained in:
@@ -120,7 +120,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
break
|
break
|
||||||
case proto.ProtocolMessage.ProtocolMessageType.EPHEMERAL_SETTING:
|
case proto.ProtocolMessage.ProtocolMessageType.EPHEMERAL_SETTING:
|
||||||
chatUpdate.ephemeralSettingTimestamp = toNumber(message.messageTimestamp)
|
chatUpdate.ephemeralSettingTimestamp = toNumber(message.messageTimestamp)
|
||||||
chatUpdate.ephemeralExpiration = protocolMsg.ephemeralExpiration
|
chatUpdate.ephemeralExpiration = protocolMsg.ephemeralExpiration || null
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else if(message.messageStubType) {
|
} else if(message.messageStubType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user