-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
"Ignoring duplicate event" is logged each time the sdk sends an event #2618
Comments
If this is indeed a bug it might be from #2587 (comment) and #2586 |
So the currently broken Line 629 in 209c6a4
@t3chguy not sure why you were removed as reviewer on #2586 as it concerns code you were directly calling there as mentioned in this comment prior to #2587 being merged. (Aside but I find it kind of wild that this underlying bug has been unnoticed for >6y and I only discovered it by chance when browsing the code, filing the bug and fix 23 minutes before the PR triggering it was opened 🤯 ) |
Sorry, realized now you are on v19.3.0, which does not contain the recent changes referred to. If the previous version uses |
@3nprob yes, |
* Add a property aggregating all names of a NamespacedValue ([\matrix-org#2656](matrix-org#2656)). * Implementation of MSC3824 to add action= param on SSO login ([\matrix-org#2398](matrix-org#2398)). Contributed by @hughns. * Add invited_count and joined_count to sliding sync room responses. ([\matrix-org#2628](matrix-org#2628)). * Base support for MSC3847: Ignore invites with policy rooms ([\matrix-org#2626](matrix-org#2626)). Contributed by @Yoric. * Fix handling of remote echoes doubling up ([\matrix-org#2639](matrix-org#2639)). Fixes matrix-org#2618.
Describe the bug
I have an image bot that sends an image based on user input. I've noticed since updating to a recent matrix-js-sdk that whenever I send an event with the SDK, it logs a line that says
EventTimelineSet.addLiveEvent: ignoring duplicate event $event_id
, where$event_id
is the event sent by the sdk.To Reproduce
This is the simplified version of the code I am using with matrix-js-sdk 19.3.0 to reproduce the issue:
Once running, invite the account to a test room, then send
!cot
in the room with any other account.Expected behavior
The "ignoring duplicate event" line shouldn't get logged.
Actual behavior
This is the output I get when sending
!cot
in the room and having the bot send the image:Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: