Cloudkibo / CloudKibo

CloudKibo
0 stars 0 forks source link

Endpoint to get partial chat messages data for mobile sync #471

Closed sojharo closed 8 years ago

sojharo commented 8 years ago

We just discussed the new logic of sync. In this, we discussed that server should not send all the messages to the mobile on sync. It should send only received messages and within them only those messages which are not on device yet.

For this, we would create an endpoint on server so that mobile device will use this endpoint to get partial chat messages data from server and not all chat messages data.

@sumairasaeed @jekram

sojharo commented 8 years ago

This is done and server now also sends the partial chat messages data for sync.

The endpoint is /api/userchat/partialchatsync

jekram commented 8 years ago

Thanks