Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

incoming messages not marked as read #17

Closed
ivanbalashov239 opened this issue Nov 21, 2014 · 7 comments
Closed

incoming messages not marked as read #17

ivanbalashov239 opened this issue Nov 21, 2014 · 7 comments

Comments

@ivanbalashov239
Copy link

incoming messages not marked as read, that's all

@ivanbalashov239
Copy link
Author

Archlinux
extra/libpurple 2.10.9-2 [installed]
extra/pidgin 2.10.9-2 [installed]                                                                            
aur/telegram-purple-git a9a48f-1 [installed] (7)

@majn
Copy link
Owner

majn commented Nov 23, 2014

I currently don't mark messages as read, mainly because I'm unsure how to do it. There are two possibilities and I'm not sure what would be the most appropriate.

  1. Mark any incoming message as read as soon as the client receives them
  2. Mark any message as ready when the user is active, if the user is idle, mark all messages as read when the user comes back

@ivanbalashov239
Copy link
Author

i think number 2 is correct, in all protocols in libpurple it's work like this variant.
If it's simple maybe you can make editable option to choose one of this options to mark as read.

@ivanbalashov239
Copy link
Author

anyway one of this variant will be better than none

@saro
Copy link

saro commented Dec 15, 2014

Hi,
any news on this? I would appreciate this feature too :)
especially using the same account on more devices :/
Thanks,
Rosario

@majn
Copy link
Owner

majn commented Dec 15, 2014

I will implement it once I've got more time. Right now I'm pretty busy unfortunately.

@majn
Copy link
Owner

majn commented Dec 24, 2014

Done, sorry that it took so long :)

  • Incoming messages will be marked as read as long the user isn't "away" or "unavailable"
  • once the state changes to an available state, all pending "reads" will be sent

I hope this works out. Maybe I will add an option to turn read notifications in the plugin off, in case somebody doesn't want a read notification to be sent every time when Adium runs and isn't inactive.

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

No branches or pull requests

3 participants