Skip to content
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

New messages don't trigger new-message event #78

Open
timgoeller opened this issue Aug 17, 2021 · 5 comments
Open

New messages don't trigger new-message event #78

timgoeller opened this issue Aug 17, 2021 · 5 comments

Comments

@timgoeller
Copy link
Contributor

timgoeller commented Aug 17, 2021

Haven't had the time yet to really check why this happens, but it seems to be caused by this commit: 1dbd522 (everything works when I revert these changes locally)

If I join a cabal I will receive all historical messages, but not any of the new messages (or at least the event won't be triggered for new messages). This happens even when I join these channels after I've joined the cabal.

@cblgh
Copy link
Member

cblgh commented Aug 17, 2021

thanks for the issue, tim! I'll have to dive back into this again at some point it seems :)

the commit linked was basically trying to figure out an issue in cabal-desktop, where messages would get duplicated now and then or sth like that

@cblgh
Copy link
Member

cblgh commented Aug 17, 2021

@timgoeller where are you seeing the issues btw, in one of your cabal-bot repos?

@timgoeller
Copy link
Contributor Author

Yeah, exactly, I've tried to upgrade the bridge/cabal-bot-core to the latest client version. I'll try to do some more testing in the next days.

@cblgh
Copy link
Member

cblgh commented Aug 18, 2021

lmk how i can help @timgoeller! it'd be a great way for me to ease into dev again tbh :~

cblgh added a commit that referenced this issue Oct 23, 2021
This reverts commit 1dbd522.

It seems this commit introduced a regression in functionality such that
messages do not appear in channels
(#78) and might also be
responsible for a similar bug in [email protected]

It would be good to only add the relevant message listeners, instead of
duplicates, but I think it will have to be done anew with fresh eyes.
@cblgh
Copy link
Member

cblgh commented Oct 23, 2021

@timgoeller reverted the commit you identified (as seen above), thanks for filing an issue so it wasn't forgotten!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants