Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Mention indicator now properly removed on guilds
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Oct 16, 2020
1 parent 7be90c4 commit 88629aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/guildlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ func (g *GuildList) updateNodeState(guild *discordgo.Guild, node *tview.TreeNode

//Prefix order doesn't matter for now, as we never have more than one.
if readstate.HasGuildBeenMentioned(guild.ID) {
node.AddPrefix("(@)")
node.AddPrefix(mentionedIndicator)
} else {
node.RemovePrefix("@")
node.RemovePrefix(mentionedIndicator)
}
}

Expand Down

0 comments on commit 88629aa

Please sign in to comment.