go vet: unreachable code
This commit fixes all occurrences of the abovementioned lint-error in the codebase. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
e30bd324a3
commit
22d65d5759
1 changed files with 0 additions and 5 deletions
|
@ -206,11 +206,6 @@ func (t *threadable) MessageThreadReferences() []string {
|
|||
func (t *threadable) Subject() string {
|
||||
// deactivate threading by subject for now
|
||||
return ""
|
||||
|
||||
if t.IsDummy() || t.MsgInfo == nil || t.MsgInfo.Envelope == nil {
|
||||
return ""
|
||||
}
|
||||
return t.MsgInfo.Envelope.Subject
|
||||
}
|
||||
|
||||
func (t *threadable) SimplifiedSubject() string {
|
||||
|
|
Loading…
Reference in a new issue