EionRobb / purple-discord

A libpurple/Pidgin plugin for Discord
GNU General Public License v3.0
375 stars 42 forks source link

Pidgin loses incoming messages #244

Open alexolog opened 5 years ago

alexolog commented 5 years ago

Two conversations were missing messages today.

Both showed copies of old messages in Pidgin instead of the dropped ones.

The correct messages show in the Discord client.

This is a serious bug!

EionRobb commented 5 years ago

Was this when you reconnected a Pidgin account and it downloaded offline history?

alexolog commented 5 years ago

I am not sure, it is hard to reproduce. It did happen to me several times in the past and every time there were message duplicates shown.

alexolog commented 5 years ago

I usually just leave Pidgin running, but there may have been disconnections

MrHm commented 5 years ago

I have the same problem. It started some weeks ago. It is difficult to reproduce, but usually messages seem to be delayed. So if I log on in the evening, I get only yesterday's messages.

Jaegrqualm commented 5 years ago

Also have this problem. While some or most channels are working just fine, on others I'll be able to send messages, but not receive them. It's not after reconnecting, it can happen when i'm in the middle of a conversation. it's quite annoying.

Kodiologist commented 4 years ago

@EionRobb Would you be interested in being paid to fix this issue and #137? They're really getting me down (especially this issue), and from what time I've put into looking at the code, I doubt my ability to fix them anytime soon. They're not easy to reproduce on command, either.

One odd thing I noticed is the * 2 at https://github.com/EionRobb/purple-discord/blob/8fe9dca/libdiscord.c#L3934 , which was added in 6552c24b05f63e960596682258974bb26f47f72d, perhaps as a debugging aid that nobody remembered to remove.

Also, I wonder if #86 is related.

Tirus42 commented 3 years ago

Is there still any progress on this issue? It still exists and I also sometimes just loose offline messages without noticing it.

mattdawolf commented 3 years ago

@EionRobb I can confirm this is happening. I have another pidgin bug open. Perhaps there is a relation? https://issues.imfreedom.org/issue/PIDGIN-17441 purple-telegram is not receiving offline messages anymore as well.

mattdawolf commented 3 years ago

@EionRobb hell if you can fix https://issues.imfreedom.org/issue/PIDGIN-17441 I'll pay you $$$.

eggmanstudio commented 3 years ago

This still appears to be an issue. I'm getting it after deleting and re-adding my Discord account