Small cleanup/fix
This commit is contained in:
parent
6fde3f8932
commit
ec013236b8
@ -140,9 +140,9 @@ var rmCmd = &cobra.Command{
|
||||
shortName := args[0]
|
||||
conversation, err := store.ConversationByShortName(shortName)
|
||||
if err != nil {
|
||||
Fatal("Cloud not search for conversation: %v\n", err)
|
||||
Fatal("Could not search for conversation: %v\n", err)
|
||||
}
|
||||
if conversation.ID == 0 || err != nil {
|
||||
if conversation.ID == 0 {
|
||||
Fatal("Conversation not found with short name: %s\n", shortName)
|
||||
}
|
||||
err = store.DeleteConversation(conversation)
|
||||
|
Loading…
Reference in New Issue
Block a user