mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
Redirect when new msg group is created, and use contacts to push a new message from there
This commit is contained in:
10 files changed
+195
-88
No files matched your search
@@ -27,7 +27,7 @@ interface DebugEvent {
|
||||
* }
|
||||
* ])
|
||||
**/
|
||||
const InjectDebugData = (events: DebugEvent[]) => {
|
||||
const InjectDebugData = (events: DebugEvent[], timer = 1000) => {
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
for (const event of events) {
|
||||
setTimeout(() => {
|
||||
@@ -40,7 +40,7 @@ const InjectDebugData = (events: DebugEvent[]) => {
|
||||
},
|
||||
})
|
||||
);
|
||||
}, 1000);
|
||||
}, timer);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user