[jdev] Message Read Receipts
Spencer MacDonald
spencer.macdonald.other at gmail.com
Sun May 19 10:15:39 UTC 2013
I started allowing MAM to store all messages (even those without a body), and the majority of the message in the archive ended up being just chat states and delivery receipts which lead me down this approach. Fetching the last 100 messages from the archive gave me about 30 messages with a body.
> You still have to deal with a client being focused and active with no user input. Basically I have my phone chat app up and I'm staring at it reading but not replying. Does the client update the last read ids automatically in that case?
If the given chat is active then yes it gets marked as read straight away, buy if a your online and in another chat the read marker isn't moved.
Regards
Spencer
On Sunday, 19 May 2013 at 11:05, Lance Stout wrote:
> Oi, sorry for the messed up reply.
>
> > Thanks for the Feedback.
> >
> > I think the issue with embedding it in a message is the neither XEP-0136 or XEP-0313 store message that have no body, which a includes a last read message.
> >
> > Keeping it as a separate XEP means it can be used with any Message Archiving solution.
>
> Fair enough. Though MAM does allow arbitrary message storage, and enabling that would be just as easy as adding support for another XEP.
>
> >
> > Also the auto sending of read is something I want to avoid, if they haven't read it then don't move the marker.
>
> You still have to deal with a client being focused and active with no user input. Basically I have my phone chat app up and I'm staring at it reading but not replying. Does the client update the last read ids automatically in that case?
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
>
>
>
> Attachments:
> - smime.p7s
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20130519/3afdf2cb/attachment.html>
More information about the JDev
mailing list