mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-10 17:15:43 +02:00
Fix group DMs without changed icon getting categorized as non-group DMs
This commit is contained in:
parent
849e0c798a
commit
a48c3fef13
@ -129,7 +129,7 @@ var DISCORD = (function(){
|
||||
"server": name,
|
||||
"channel": name,
|
||||
"id": link,
|
||||
"type": (icon && icon.src.includes("/channel-icons/")) ? "GROUP" : "DM"
|
||||
"type": (icon && (icon.src.includes("/channel-icons/") || icon.src.includes("/assets/"))) ? "GROUP" : "DM"
|
||||
};
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user