William Grant
37bdd08aca
fix: correct getter region comments
2 years ago
William Grant
caf39d661c
feat: commit disappearing remote changes to db
2 years ago
William Grant
27a634b268
feat: updateExpireTimer now returns success
...
we use this to decide on commiting updates from sync messages to the db
2 years ago
William Grant
5b7afe0a29
fix: disappear synced settings updates
...
need to trigger the expirationStartTimestamp manually
2 years ago
William Grant
777584945d
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
ebaedb2e4c
feat: created getters in message model
...
replaced all expirationType calls with getExpirationType
2 years ago
William Grant
1861131ce2
refactor: replaced get lastDisappearingMessageChangeTimestamp calls
...
with getLastDisappearingMessageChangeTimestamp
2 years ago
William Grant
712a1e92e4
refactor: replaced get hasOutdatedClient calls
...
with getHasOudatedClient
2 years ago
William Grant
f31e157c12
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
3ed041c4a5
feat: created getters on convo model
...
replaced all expirationMode calls
2 years ago
William Grant
38a8012e10
refactor: providedexpirationtype to provideddisappearingmode
2 years ago
William Grant
250e3d0238
refactor: rename expirationType on convo to expirationMode
...
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant
cd2f51684d
refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype
2 years ago
William Grant
93b450ce56
feat: hit expire endpoint for read messages
...
for now it will hit the expire endpoint twice
2 years ago
William Grant
c33eef0162
fix: sync messages now expire in 1on1s
...
fromConfig has been removed from updateExpireTimer
2 years ago
William Grant
7c6e6c981a
fix: make sure to note sent another message
...
in all remote cases
2 years ago
William Grant
3d8a664da9
fix: ignore equal lastMessageChangeTimestamps
2 years ago
William Grant
50f144a8c3
fix: improved logging
...
made some progress with fixing things but other things broke
2 years ago
William Grant
c24487b938
fix: deleteAfterSend now works in private convos again
2 years ago
William Grant
b88842b687
feat: tested v2 releas
...
made some updates to expire update generation and handling, one final fix required
2 years ago
William Grant
c93315b0e7
fix: make sure lastDisappearingMessageChangeTimestamp is defined before comparing with convo model
2 years ago
William Grant
bb6eb3e84e
feat: fixed 1-1s and added more logging
2 years ago
William Grant
d923a0d611
feat: closed groups state now starts correctly
2 years ago
William Grant
2a05185138
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
592d1f010f
fix: use network time for emoji reacts syncing
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
9d8cca1970
feat: convert between conversation and message model disappearing modes in key locations
...
remove disappearing messages from convo header context menu
2 years ago
William Grant
deceae4119
feat: disappearing messages setting now sync correctly in user config
...
we also load the visible control message, added back a lot of WIP logging while we are testing
2 years ago
William Grant
60e5503e6a
feat: check for v2 release correctly on startup
...
improvements to creating and updating closed groups with disappearing message settings
2 years ago
William Grant
c067ac9fc4
fix: simplified legacy support in conversationheadertitle
2 years ago
William Grant
60b75a8ddf
feat: remove unlockNewModes from OverlayDisappearingMessages
...
use isDisappearMessageV2FeatureReleasedCached to set the mode to legacy strictly in the UI, created resolveLegacyDisappearingMode to change the legacy mode into the default mode for a conversation
2 years ago
William Grant
cc63887273
fix: remove final instances of legacy type not in UI
...
fixed closed groups being deleteAfterSend incorrectly
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
43276b069e
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
84deed19f9
feat: add block msg requests from sogs
2 years ago
William Grant
2a6d8a6544
feat: remove legacy from expirationType during db migration
...
fix migrations to work with user config changes
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
William Grant
905fe5aab9
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
77acd1396b
feat: add support for blinded25 receipt of messages for later impl
2 years ago
Audric Ackermann
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
2 years ago
Audric Ackermann
dcdbc07195
fix: delete actions for admins on communities
2 years ago
Audric Ackermann
5d2d901aa0
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
f2cddb83c8
chore: broke apart big Message selectors into smaller ones
2 years ago
Audric Ackermann
461b192f37
fix: mod and admin actions on message context menu for communities
2 years ago
Audric Ackermann
0fa58a5654
chore: fix compilation issues after conflicts resolution
2 years ago
Audric Ackermann
4637f4609a
Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
2 years ago
William Grant
3bc187fa5e
feat: performance improvements to quote lookup
...
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
2 years ago
William Grant
331a4e1e12
fix: resolved object is not extensible bug
...
forEach and async still don't play nice so used a regular for loop, added QuoteLookupType
2 years ago