> On Jul 13, 2015, at 11:10 AM, atom992 <yangzijun...@gmail.com> wrote:
> 
> I have a phonegap-plugin based android group chat app, and I want to make 
> user in the same group can sync message.but I only want to sync the message 
> that created time posterior to the time that user join into group.

There’s not currently a good way to do that because the sync criteria rely on 
relative dates rather than intrinsic properties of the messages.

You’ve already found some threads that discuss similar topics; I think the best 
answer is still the same as when I replied to one of those 
<https://groups.google.com/d/msg/mobile-couchbase/0XKPMADsa0U/U5BxKDDm8l4J>.

BTW, I think getting older messages is a feature, not a bug. It’s often very 
useful to see what was going on in the group before you joined.

> I am consider about is it possible to use webhooks to Implement it?

I don’t see how web-hooks would help. The only support Sync Gateway has for 
those is to call an external API from the sync function to notify it about a 
document.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/1DCEFAC6-5230-4A17-BBC1-AE526FB16EB1%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to