mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-06-09 11:52:09 +03:00
parent
869f0d0b08
commit
48647c3a7c
@ -136,8 +136,10 @@ var DISCORD = (function(){
|
|||||||
|
|
||||||
if (array){
|
if (array){
|
||||||
for(let obj of array){
|
for(let obj of array){
|
||||||
if (obj.props.messages){
|
let nested = obj.props.children;
|
||||||
Array.prototype.push.apply(messages, obj.props.messages);
|
|
||||||
|
if (nested && nested.props && nested.props.messages){
|
||||||
|
Array.prototype.push.apply(messages, nested.props.messages);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user