浏览代码

Remove 123 :P

rigormorrtiss 4 年之前
父节点
当前提交
dde8032437
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      discordo.go

+ 1 - 1
discordo.go

@@ -170,7 +170,7 @@ func onGuildsDropDownSelected(_ string, i int) {
 	app.SetFocus(channelsTreeView)
 
 	currentGuild = discordState.Ready().Guilds[i].Guild
-	channels, _ := discordState.Cabinet.Channels(currentGuild.ID + 123)
+	channels, _ := discordState.Cabinet.Channels(currentGuild.ID)
 	sort.SliceStable(channels, func(i, j int) bool {
 		return channels[i].Position < channels[j].Position
 	})