William Grant
|
a37c8eaf13
|
fix: merge now returns good hashes
we calc the latestEnvelopeTimestamp and use for disappearAfterRead
|
1 year ago |
William Grant
|
0cbdd5631b
|
fix: alignment for group messages with no avatar
this happens with multiple incoming messages
|
2 years ago |
William Grant
|
b1d604236e
|
fix: no any in useSelectors
for getMessageAttachmentProps and getIsMessageSelected
|
2 years ago |
William Grant
|
973845b7c6
|
fix: comment note casing
|
2 years ago |
William Grant
|
5d98ff6e8b
|
test: replace any with ConversationAttributes
on convo constructor args
|
2 years ago |
William Grant
|
0796460d57
|
fix: comment typos
|
2 years ago |
William Grant
|
04c3f69398
|
refactor: export functions from an object for stubbing
for disappearing messages index file
|
2 years ago |
William Grant
|
c644c644c9
|
fix: explicitly set isCentered
|
2 years ago |
William Grant
|
bb6e09de0a
|
feat: cleaned up wip logs
|
2 years ago |
William Grant
|
9fb67f20c2
|
refactor: moved getMessageExpirationProps
into useParamSelector since it is only called there
|
2 years ago |
William Grant
|
058ab3ea7e
|
fix: remove unneeded handleSetTime
in OverlayDisappearingMessages
|
2 years ago |
William Grant
|
294e38fe57
|
feat: extra legacy useEffects into custom hooks
for OverlayDisappearingMessages
|
2 years ago |
William Grant
|
f43dc13403
|
chore: made note about the hasOutdatedClient prop
we will remove it when we remove the legacy code
|
2 years ago |
William Grant
|
8d36442dbf
|
refactor: rename ttl_max to content_message
this is more explicit
|
2 years ago |
William Grant
|
f5a9e9c366
|
fix: comment cleanup
|
2 years ago |
William Grant
|
50680bba7d
|
fix: throw error in getMessageReadyToDisappear
for community messages
|
2 years ago |
William Grant
|
3feb8cddf2
|
refactor: move checkShouldDisappearButIsntMessage
to legacy file
|
2 years ago |
William Grant
|
a2908cf24b
|
fix: use switch instead of chained ifs
in setExpirationStartTimestamp
|
2 years ago |
William Grant
|
730641a14d
|
feat: added todo to section duck
we want to move it into a redux slice in future
|
2 years ago |
William Grant
|
be8c3b042f
|
feat: added checkForExpiringOutgoingMessage
triggers timer for all outgoing messages. includes unit tests
|
2 years ago |
William Grant
|
bd9d56d381
|
fix: foundMessage has the ttl updated by reference
no need to explicitly assign it
|
2 years ago |
William Grant
|
40014544d1
|
fix: closed group groupId is now PubKey only
|
2 years ago |
William Grant
|
01d04bd4d3
|
refactor: existingexpration to existingexpirationt
in createClosedGroups.ts. Cleaned up some comments
|
2 years ago |
William Grant
|
8838477e34
|
refactor: ttl_config to config_message
inside of TTL_DEFAULT. This is more readable and explicit
|
2 years ago |
William Grant
|
d4aacd3159
|
fix: move isDelete into inbox poll if statement
fixed some comments
|
2 years ago |
William Grant
|
ef50a9f7a5
|
fix: remove unneeded Boolean cast
|
2 years ago |
William Grant
|
aad55025ba
|
fix: more comment cleanup
|
2 years ago |
William Grant
|
61d349ecc4
|
fix: remove unneeded export for
writeSessionSchemaVersion
|
2 years ago |
William Grant
|
a459bff86c
|
fix: more comment cleanup
|
2 years ago |
William Grant
|
1d7380a254
|
refactor: rename expirationLength
to expirationDurationMs
|
2 years ago |
William Grant
|
386e9ef709
|
refactor: update region comments to #region
|
2 years ago |
William Grant
|
f3b4b6f862
|
refactor: isDisappearing to matchesDisappearing
cleaned up some comments
|
2 years ago |
William Grant
|
8d9fc33180
|
fix: remove unnecessary async on markReadNoCommit
|
2 years ago |
William Grant
|
7b8d1ed2f7
|
fix: replace backbone get method
for lastDisappearingMessageChangeTimestamp
|
2 years ago |
William Grant
|
ee38af12dd
|
test: restructed tests to match feature folder
|
2 years ago |
William Grant
|
5f3a0899f5
|
feat: moved remaining code into feature folder
also separated out legacy functions
|
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
|
b471900a18
|
feat: move timer options out of redux
|
2 years ago |
William Grant
|
73cceab31f
|
refactor: getDisappearingUnreadByConversation
to getUnreadDisappearingByConversation since reading causes disappearing
|
2 years ago |
William Grant
|
e66e9961e1
|
fix: use precasted variables for modes
for DisappearingMessageConversationModeType references
|
2 years ago |
William Grant
|
cafa9d80ec
|
fix: remove all unneeded tslint comments
fixed some eslint errors
|
2 years ago |
William Grant
|
851eca36e3
|
feat: use custom hook useRightOverlayMode
|
2 years ago |
William Grant
|
577278a14d
|
feat: made datatestids mandatory on readablemessages
|
2 years ago |
William Grant
|
a268aeb6d1
|
fix: type state correctly when using useSelector
|
2 years ago |
William Grant
|
f9b0ead150
|
fix: expiretimer now uses a ternary operator
|
2 years ago |
William Grant
|
c73be8aecc
|
fix: use convoId instead of convoName in dep array
for what subtitle to show when changing convos
|
2 years ago |
William Grant
|
fa263430ae
|
fix: remove else and return early
in handleRightPanelToggle
|
2 years ago |
William Grant
|
d6cc4f9c75
|
feat: use custom hook useIsRightPanelShowing
in functional components
|
2 years ago |
William Grant
|
5dbf949bf5
|
fix: styledDot key should be more specific
|
2 years ago |
William Grant
|
bb2ffff83e
|
fix: remove options menu from convo header
in favour of right panel
|
2 years ago |