cabal-client icon indicating copy to clipboard operation
cabal-client copied to clipboard

New messages don't trigger `new-message` event

Open timgoeller opened this issue 2 years ago • 5 comments

Haven't had the time yet to really check why this happens, but it seems to be caused by this commit: 1dbd5227923aa9063b93b57cfa9dbed31e246dda (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.

timgoeller avatar Aug 17 '21 15:08 timgoeller

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 avatar Aug 17 '21 15:08 cblgh

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

cblgh avatar Aug 17 '21 15:08 cblgh

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.

timgoeller avatar Aug 17 '21 19:08 timgoeller

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

cblgh avatar Aug 18 '21 10:08 cblgh

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

cblgh avatar Oct 23 '21 11:10 cblgh