vijayp / partychapp

Automatically exported from code.google.com/p/partychapp
5 stars 2 forks source link

Add option to disable offline messages #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At least it should be optional. Receiving hundreds of messages is really 
horrible (to both the user and the client).

Original issue reported on code.google.com by lilyd...@gmail.com on 22 May 2011 at 6:04

GoogleCodeExporter commented 9 years ago
This behavior is controlled by Google Talk/Gmail, not Partychat. You can 
disable it in Gmail by selecting your Partychat room chat contact(s) and 
choosing "go off the record" for them.

Original comment by mihai.parparita on 28 May 2011 at 3:43

GoogleCodeExporter commented 9 years ago
I can't understand. Sending messages is entirely controlled by XMPP severs (GAE 
for Partychat), and any client subscribing to the user receives the user's 
precences. You can trace the user's status by taking note of his/her presences 
(the docs' suggested way). There are already some similar GAE applications that 
do this way.

Original comment by lilyd...@gmail.com on 28 May 2011 at 4:12

GoogleCodeExporter commented 9 years ago
Yes, I suppose we could check presence before sending. I don't think it's 
foolproof (IIRC presence checks don't work for non-Gmail accounts) and we'd 
only want to do it if a user had offline messages disabled (otherwise it'd be 
expensive to do it for every message that's sent).

Original comment by mihai.parparita on 28 May 2011 at 10:18