Redirect when new msg group is created, and use contacts to push a new message from there

This commit is contained in:
J Francisco Rader committed 2021-02-16 17:10:45 -05:00
1 parent 3bf098c5ee
commit b93d5faee1
10 files changed
+195 -88

No files matched your search

+2 -2
View File
@@ -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);
}
}
};