Slide 13
Slide 13 text
Event := “Operation” (OP)
clients
server
storages
Store OPs
per each accounts
Fetch OPs
per each devices
struct Operation {
// 1, 2, 3, … per each accounts
1: i64 revision,
// enum of Message,Group,Contact,..
2: OpType type,
// message, messageId, targetUserId, chatId..
3: Payload payload,