This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 833
Don't show replaced calls in the timeline #7452
Merged
dbkr
merged 7 commits into
matrix-org:develop
from
SimonBrandner:feature/hide-replaced-calls
Jan 31, 2022
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
51ef148
Don't show replaced calls in the timeline
SimonBrandner 71869f2
Merge remote-tracking branch 'upstream/develop' into feature/hide-rep…
SimonBrandner ccd5c0f
Merge remote-tracking branch 'upstream/develop' into feature/hide-rep…
SimonBrandner 429d8ad
Revert changes to CallEvent
SimonBrandner ea148a1
Add option to force hide event
SimonBrandner 7aa00f6
Hide replaced calls
SimonBrandner 9651be8
Merge remote-tracking branch 'upstream/develop' into feature/hide-rep…
SimonBrandner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what we'd actually want to do is merge the calls together so they appear as one long call, ie. take the start time as the time of the first call's invite and the hangup time as the ts of the other call's hangup event.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not really sure what you have in mind... If we're talking about the time, I believe that should be handled by the js-sdk when replacing the call probably. Though I am not really sure how to intelligently handle that for past calls though since both calls happen at a similar time I am not even sure if this is necessary.
Anyway, this feels like a different PR perhaps? Is there something else that should happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, as in we think this is already handled correctly by the js-sdk and we just have to display the right call and hide the other?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't think it's handled in the js-sdk but I would make that a separate change and I also don't think it is that big of a deal though I might be missing something here 😅