refactor(message_input): remove redundant return
This commit is contained in:
parent
2ab0b0ed9d
commit
b2a0e7f012
1 changed files with 1 additions and 2 deletions
|
|
@ -395,7 +395,7 @@ func (mi *messageInput) tabSuggestion() {
|
|||
}
|
||||
|
||||
type memberList []discord.Member
|
||||
type userList []discord.User
|
||||
type userList []discord.User
|
||||
|
||||
func (ml memberList) String(i int) string {
|
||||
return ml[i].Nick + ml[i].User.DisplayName + ml[i].User.Tag()
|
||||
|
|
@ -532,7 +532,6 @@ func (mi *messageInput) addMentionUser(user *discord.User) {
|
|||
}
|
||||
|
||||
mi.mentionsList.AddItem(name, user.Username, 0, nil)
|
||||
return
|
||||
}
|
||||
|
||||
// used by chatView
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue