-
-
Notifications
You must be signed in to change notification settings - Fork 135
broadcast channel reactions #8450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
63b1994
feat: allow channel subscriber reactions
r10s e0bcc96
add tables to handle broadcast reactions
r10s 1bd8142
schedule broadcasting reactions
r10s fa28146
send broadcast reactions
r10s bd61c6e
move broadcast related functions to a dedicated file
r10s 73dbdb0
broadcast reactions using ChatReactions: header
r10s 9333913
fix CONFLICT clause
r10s 4ce1377
create basic test for sending reactions to channels
r10s f98e89d
use 'broadcast reactions' everywhere
r10s 13dd756
apply received broadcasted reactions
r10s 8e4dfe7
save one db call
r10s fada3c3
move reaction&count logic from jsonrpc bindungs to core
r10s 8ce92af
move function needed for testing only to test module
r10s 2b366b6
use new frequencies field
r10s 0cde407
streamline get_frequencies
r10s 32314be
let get_msg_reactions() also return broadcasted reactions
r10s 061860a
refine broadcasted reactions by local by-contact state
r10s 85d6a97
clearer internal naming and documentation
r10s 8f743ad
remove unneeded cloning
r10s 12fbb81
replace low-level sql tests by higher-level functionality tests
r10s f6e8f57
remove superfluous error return
r10s cfd6f97
fix typo and docs
r10s 019d528
emit 'chatlist changed' event
r10s 954252b
simplify reaction refining and make it more robust
r10s e053861
factor out sorting by frequencies
r10s 3a3cdf0
simplify reaction refining
r10s 4789f11
add test for test_refine_broadcast_reactions()
r10s 7640a4d
increase self counter so one gets an immediate feedback on reacting
r10s fff4333
factor out save_broadcast_reactions(), clearer names for the wire obj…
r10s 3243be1
revert increasing self-counter for immediate feedback
r10s dce023a
let load_broadasted_reactions() return empty array; this makes modifi…
r10s 3303f70
modify broadcast reactions on SELF-reaction
r10s ae96959
mute outgoing broadcast channels; receiving potentially lots of notif…
r10s 21f00c0
make clippy happy
r10s 69027ef
Update src/reaction/broadcast_reactions.rs
r10s 86ef977
do not get stuck if the clock was set to the future for a moment, sav…
r10s 2a00d88
Update src/param.rs
r10s ba6ba49
add doc comment for Wire format
r10s ba3e386
use Chat-Broadcast-Reactions: header to stay in the 'Chat-' name space
r10s 9a64ee5
add test_broadcast_muted()
r10s 5343760
log error if loading chat for correct message fails
r10s 7c92e7d
make deletion of reactions-to-broadcast more robust
r10s 5d6e54c
make clippy happy
r10s 70e3870
add a test for the broadcast wire format
r10s 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.