mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 22:17:03 +01:00
Default channels should only attempt to load messages if channel type is text
This commit is contained in:
parent
9de25eb0d3
commit
cf79ddcde1
@ -843,7 +843,7 @@ var passedCookieTest = true; // If passed cross origin test
|
||||
}
|
||||
for (var i = 0; i < guildchannels.length; i++) {
|
||||
if (guildchannels[i].channel.id == defaultChannel) {
|
||||
if (!guildchannels[i].read) {
|
||||
if (!guildchannels[i].read || guildchannels[i].type != "text") {
|
||||
return;
|
||||
}
|
||||
selected_channel = defaultChannel;
|
||||
|
Loading…
Reference in New Issue
Block a user