William Grant
d794b0a0d4
fix: comment out user config disappearing messages stuff for now
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
William Grant
c08dcc7ec6
fix: when we receive and make a quote message do an in-memory lookup before looking in the db
...
this can fix original message not found errors when there are lot of unread messages and one of them is quoted
2 years ago
Audric Ackermann
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
1c7a26b65e
fix: index typo in loop for thumbnail download
2 years ago
William Grant
62c5ebb1fc
fix: processQuoteAttachments correctly updates attachment thumbnails when downloading them
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
2 years ago
Audric Ackermann
5d2d901aa0
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
0e18bf4640
fix: disable expire timer tracking for all libsession logic
...
this will need to be turned on when the disappearing branch is merged
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
Audric Ackermann
5a5f069cca
fix: add tracking of expiration timer for nts through libsession
2 years ago
Audric Ackermann
db9fa14213
fix: don't update state on updates already included in our syncmessage
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
1ff2969750
refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
...
its more clear what parameters are needed
2 years ago
William Grant
e78d1dfb87
fix: send full text body for quote
...
resolved regression with quote author name
2 years ago
William Grant
bd8ce826a8
fix: replaced getMessageBySenderAndSentAt with getMessageBySenderAndTimestamp
...
which does the same thing but is more verbose
2 years ago
Audric Ackermann
2068737cdd
fix: break down deleteContact based on convo type
2 years ago
Audric Ackermann
7b42c64cf3
fix: make sure to include the associatedWith to handle 421
2 years ago
Audric Ackermann
0cbcecb508
fix: make avatar download job only take conversationId
...
and not the profileKey+url too as we need the db entry to be in sync
with the config wrapper data (otherwise the next commit would be made
with data out of date from the wrapper side)
2 years ago
Audric Ackermann
77e5e38e46
chore: update lodash types, use prebuilt curbe25519-js
2 years ago
Audric Ackermann
6676bf77f9
chore: fix unit tests for userconfig changes
2 years ago
Audric Ackermann
6ac4dd8db5
fix: linking allows legacy config message if one is found
2 years ago
William Grant
c6cd3671de
fix: run expireUpdate handler on all messages and just return the model if there are no changes
2 years ago
Audric Ackermann
4d0e79f195
fix: legacy group with wrapper and disable right click while searching
2 years ago
Audric Ackermann
2a4bbbd587
feat: add the deleteContact and deleteConversation only menu items
2 years ago
Audric Ackermann
760ce5caa5
fix: add the maxSizeMap to have priority per retrieve namespaces
2 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
2 years ago
Audric Ackermann
bac2887c28
fix: update with latest libsession util
2 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
2 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
2 years ago
Audric Ackermann
8edb1275c2
fix: keep updating dumps even if user config feature is off
2 years ago
Audric Ackermann
ce186517a3
chore: lint code
2 years ago
William Grant
ab04e9bd17
fix: updated comment for when to remove legacy code
2 years ago
William Grant
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
2 years ago
William Grant
647e542128
feat: add comments after run through
2 years ago
William Grant
1de21ea8c0
feat: only show banner after v2 is released
2 years ago
William Grant
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
2 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 years ago
William Grant
6a38e09f4f
feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model
2 years ago
William Grant
b6c3edbac4
fix: pass yarn ready
2 years ago
William Grant
e5ecff7ec3
fix: fixed legacy disappearing messages on call notifications and others
2 years ago
William Grant
ceeb9b790a
fix: finally got all the test cases to pass!
...
removed misMatchedMessage and replaced with shouldDisappearButIsntMessage which is a more explicit check
2 years ago
William Grant
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
2 years ago
William Grant
89c70760a5
fix: refactor and works for all legacy test cases, modern to modern is broken
2 years ago
William Grant
6dd340ca6c
feat: handle legacy disappearing messages more gracefully due to protobuf issues
...
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
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