purple-facebook icon indicating copy to clipboard operation
purple-facebook copied to clipboard

Last messages delieved multiple times

Open NeoBelerophon opened this issue 8 years ago • 15 comments

Hi I use purple-facebook (from debian package 20160920~b2f1230~66ee77378d82~116) as backend for spectrum2. Since the last update I receive the last messages of my contacts from time to time again.

When I go to the facebook page the messages are marked as seen.

NeoBelerophon avatar Oct 27 '16 08:10 NeoBelerophon

i am facing the exact same problem

jihadismail8 avatar Nov 09 '16 14:11 jihadismail8

Have you changed the default values for 'mark messages as read' and 'show unread messages'? If so, what values do they have?

dequis avatar Nov 09 '16 16:11 dequis

No i haven't changed any default value... and please try to be spacific in where those values are located. . Thanks for your help :)

jihadismail8 avatar Nov 09 '16 18:11 jihadismail8

I don't know where they are located in spectrum, but those are their literal names when used from pidgin, in the account settings.

dequis avatar Nov 09 '16 18:11 dequis

If no extra settings in the transport.cfg is set all default values are used. I have no extra settings specified in my config

NeoBelerophon avatar Nov 12 '16 09:11 NeoBelerophon

Hmmm maybe 'mark as read' isn't working at all because it relies on conversation focus signals that don't exist in spectrum.

dequis avatar Nov 12 '16 09:11 dequis

Workaround: set show-unread to 0 in the config

dequis avatar Nov 13 '16 08:11 dequis

In which config file you mean exactly ? ... facebook.cfg for spectrum ? Or there is another config file somewhere in purple-facebook ?

jihadismail8 avatar Nov 13 '16 12:11 jihadismail8

FWIW - I have the same issue on Pidgin 2.11.0 (Win).

tomsaul avatar Nov 16 '16 18:11 tomsaul

@tomsaul ensure you don't have 'mark as read' disabled and 'show unread' enabled.

dequis avatar Nov 16 '16 23:11 dequis

For those looking for these settings in Pidgin, they are under 'Accounts' / Facebook entry / Edit Account / Advanced.

In my case Mark messages as read is checked, and Show unread messages was also checked. When I get the message, I do read it, and even if I close the chat window, it will re-open it and present the last message(s) again a few times. I don't know what causes it to stop, or exactly the interval between each time. And FWIW - I just updated to the latest version - I think I had a build from Feb before. It has not done it since the update, but I also don't use FB chat much, so not a lot of opportunity yet.

tomsaul avatar Nov 17 '16 00:11 tomsaul

Also experiencing this issue with latest versions, and have experienced it on and off since the new protocol came out. If a contact sends me messages overnight, I receive a second copy of all the messages about an hour after the first one was sent. But the timestamps all match the original message times. (So for example I see messages from 7:00, 7:01, 7:45, 8:01, then after that 7:00, 7:01, 7:45 and 8:01 again.) These messages (and their duplicates) are waiting for me in the Pidgin message window when I open it.

The Facebook app does not display these duplicate messages, so there must be some kind of ID involved so the app can detect when it has already received a message and so it does not display it a second time.

Since this happens just about every day for me, let me know if there are any logging steps I can perform that would help.

Malvineous avatar Mar 15 '17 09:03 Malvineous

I was having the same problem. For me it happens in Finch when I am signed in on 2 computers at one time. If I am signed in at only 1 location the problem does not happen.

fwarren avatar Apr 16 '17 21:04 fwarren

Oh, yeah, I remember something like that. It was about reusing access tokens, which can happen if you copy configs between computers. If you add a new account from scratch to the second client there shouldn't be any issues. That creates a new message queue. Those really aren't intended to be shared.

dequis avatar Apr 16 '17 21:04 dequis

Thats me, the lazy linux admin who copies my ~/.fluxbox ~/bin and ~/.purple folders to new PCs. I will recreate the account on both systems. Thanks for the heads up.

fwarren avatar Apr 16 '17 21:04 fwarren