From 20375e0559169a1eb5ba24c5b93af29ffd052aa0 Mon Sep 17 00:00:00 2001 From: itschip Date: Tue, 17 Nov 2020 19:41:01 +0100 Subject: [PATCH] stuff --- phone/src/Phone.tsx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/phone/src/Phone.tsx b/phone/src/Phone.tsx index 17e3637..c3a0eb1 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -35,6 +35,31 @@ setTimeout(() => { ); }, 1000); +setTimeout(() => { + window.dispatchEvent( + new MessageEvent("message", { + data: { + app: "MESSAGES", + method: "setConversations", + data: [ + { + id: 1, + name: 'rocky' + }, + { + id: 2, + name: 'ark' + }, + { + id: 3, + name: 'kire' + } + ] + } + }) + ) +}, 1000) + setTimeout(() => { window.dispatchEvent( new MessageEvent("message", {