Commit Graph

18 Commits (ee43d31665b54e8385edfaffc959c24725881e2d)

Author SHA1 Message Date
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 1 year ago
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
1 year ago
Audric Ackermann d1068983bb fix: broken state adding lastDisappearingMessage to chatmsg 1 year ago
William Grant 8d36442dbf refactor: rename ttl_max to content_message
this is more explicit
2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant 958f64e27f feat: get_expiries implementation done
now just need to make sure to call both endpoints in the correct places
2 years ago
William Grant a2185625c8 fix: use TTL_CONFIG in retrieve request
also some comment cleanup
2 years ago
William Grant e8c927f580 feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
easier to manage starting a legacy disappearing message and always pass expiration type and timer
2 years ago
William Grant ff19c95a92 fix: remove using legacy as a string for disappearing messages except in the UI
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
William Grant b3297ab816 fix: remove isFinite comment 2 years ago
William Grant 647e542128 feat: add comments after run through 2 years ago
William Grant 4c4bc045d7 fix: renamed ExpirationType enum value LEGACY to UNKNOWN 2 years ago
William Grant df40ff8855 feat: added legacy to the ExpirationType enum in the protobuf and updated support
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
2 years ago
William Grant b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 2 years ago
William Grant 854742c0b1 fix: improved logic for turning off disappearing messages 2 years ago
William Grant 8117e631d0 feat: legacy mode now works for 1-1 chats 2 years ago
William Grant 255b6225c9 feat: block sending disappearing messages of the wrong type in different conversations,
improved disappear after send or read logic, disable legacy sending for now
2 years ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
2 years ago