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 |
Kee Jefferys
|
6b78cc1d4b
|
fix: ensure default value is provided
|
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 |
Kee Jefferys
|
ff09d8e104
|
fix: disable eslint, refactor function
|
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 |
William Grant
|
33f3a4208e
|
fix: cleanup NoticeBanner jsx
|
2 years ago |
William Grant
|
e5701d388d
|
fix: remove unneeded tslint comment
|
2 years ago |
William Grant
|
9b8bd6fe79
|
fix: removed noBackgroundColor from panel buttons
|
2 years ago |
William Grant
|
7afcc3248b
|
fix: update legacy comment in signal service
this makes it easier for cleanup later
|
2 years ago |
William Grant
|
cb5cb78635
|
fix: remove ClosedGroupControlMessage comments
|
2 years ago |
William Grant
|
4307372174
|
fix: unblockGroupToSend copy change
|
2 years ago |
William Grant
|
286418976b
|
test: updated ChatMessage with disappearing tests
for both modes
|
2 years ago |