Hi,

My app is similar to this chat room demo, but synced doc can be modified by
any users, and the modified doc would also synced to any other mobiles

I also want the user to dismiss a message on his mobile, but this operation
should not affect other users.

What I thought to deal with this requirement is to add a new property
"dismissed" into the doc, and set its value to true so that the view won't
allow the app to display it.

The problem with this solution is that the property "dismissed" will also
be synced to other users' mobiles and make the message to be not displayed
to them. This is not what I want.

What is the proper way to deal with it?

Thanks for your help.

Guofeng

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CAMpUGn0xNPfZBY8Mu9htjvsF3hVC50O1cbqzC%3DpMw-T7H301qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to