Skip to content

Commit

Permalink
Improve quick switcher DM searching
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Jun 18, 2024
1 parent 7f9e071 commit 795b5b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/window/quickswitcher/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ func newChannelItem(state *gtkcord.State, guild *discord.Guild, ch *discord.Chan

if ch.Name != "" {
item.name = ch.Name
} else if len(ch.DMRecipients) == 1 {
item.name = ch.DMRecipients[0].Tag()
} else {
item.name = gtkcord.RecipientNames(ch)
}
Expand Down

0 comments on commit 795b5b9

Please sign in to comment.