From 4d370e326f72a246ad969135b52c9709906fd398 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 22 Mar 2018 13:57:53 +0100 Subject: [PATCH] [mockup.channel-init] minmod --- webpack/mockup/channel-init.json | 41 +++++++++++++++----------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/webpack/mockup/channel-init.json b/webpack/mockup/channel-init.json index b93d0ab..1f07a87 100644 --- a/webpack/mockup/channel-init.json +++ b/webpack/mockup/channel-init.json @@ -12,36 +12,33 @@ "room": { - "text": { + "0": { - "0": { + "members": [1,3,5], - "members": [1,3,5], + "messages": [ + { "mid": 100, "uid": 1, "ts": 23894808320, "msg": "Hey ! How are you ?" }, + { "mid": 101, "uid": 3, "ts": 23894808330, "msg": "Fine n you ?" }, + { "mid": 102, "uid": 5, "ts": 23894808340, "msg": "fine too, what are you doin' ?" }, + { "mid": 103, "uid": 1, "ts": 23894808350, "msg": "Yay guys i'm ok" }, + { "mid": 104, "uid": 1, "ts": 23894808360, "msg": "Do you have anything to say ... ?" } + ] - "messages": [ - { "mid": 100, "uid": 1, "ts": 23894808320, "msg": "Hey ! How are you ?" }, - { "mid": 101, "uid": 3, "ts": 23894808330, "msg": "Fine n you ?" }, - { "mid": 102, "uid": 5, "ts": 23894808340, "msg": "fine too, what are you doin' ?" }, - { "mid": 103, "uid": 1, "ts": 23894808350, "msg": "Yay guys i'm ok" }, - { "mid": 104, "uid": 1, "ts": 23894808360, "msg": "Do you have anything to say ... ?" } - ] + }, - }, + "1": { - "1": { + "members": [1,4], - "members": [1,4], - - "messages": [ - { "mid": 110, "uid": 1, "ts": 23894823450, "msg": "user_id: 1, message_id: 110" }, - { "mid": 111, "uid": 4, "ts": 23894823460, "msg": "user_id: 4, message_id: 111" }, - { "mid": 112, "uid": 1, "ts": 23894823460, "msg": "user_id: 1, message_id: 112" }, - { "mid": 113, "uid": 1, "ts": 23894823460, "msg": "user_id: 1, message_id: 113" } - ] - - } + "messages": [ + { "mid": 110, "uid": 1, "ts": 23894823450, "msg": "user_id: 1, message_id: 110" }, + { "mid": 111, "uid": 4, "ts": 23894823460, "msg": "user_id: 4, message_id: 111" }, + { "mid": 112, "uid": 1, "ts": 23894823460, "msg": "user_id: 1, message_id: 112" }, + { "mid": 113, "uid": 1, "ts": 23894823460, "msg": "user_id: 1, message_id: 113" } + ] } + } } \ No newline at end of file