Change default reply action from "reply all" to "reply"
This commit is contained in:
parent
6c8e7e7df0
commit
26fab0dff4
2 changed files with 11 additions and 11 deletions
|
@ -20,7 +20,7 @@ class ReplyActionStrategy(private val replyRoParser: ReplyToParser) {
|
|||
ReplyActions(defaultAction = ReplyAction.REPLY)
|
||||
}
|
||||
} else {
|
||||
ReplyActions(defaultAction = ReplyAction.REPLY_ALL, additionalActions = listOf(ReplyAction.REPLY))
|
||||
ReplyActions(defaultAction = ReplyAction.REPLY, additionalActions = listOf(ReplyAction.REPLY_ALL))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,8 +39,8 @@ class ReplyActionStrategyTest {
|
|||
|
||||
val replyActions = replyActionStrategy.getReplyActions(account, message)
|
||||
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY_ALL)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY)
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY_ALL)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -52,8 +52,8 @@ class ReplyActionStrategyTest {
|
|||
|
||||
val replyActions = replyActionStrategy.getReplyActions(account, message)
|
||||
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY_ALL)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY)
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY_ALL)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -66,8 +66,8 @@ class ReplyActionStrategyTest {
|
|||
|
||||
val replyActions = replyActionStrategy.getReplyActions(account, message)
|
||||
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY_ALL)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY)
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY_ALL)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -80,8 +80,8 @@ class ReplyActionStrategyTest {
|
|||
|
||||
val replyActions = replyActionStrategy.getReplyActions(account, message)
|
||||
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY_ALL)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY)
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY_ALL)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -93,8 +93,8 @@ class ReplyActionStrategyTest {
|
|||
|
||||
val replyActions = replyActionStrategy.getReplyActions(account, message)
|
||||
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY_ALL)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY)
|
||||
assertThat(replyActions.defaultAction).isEqualTo(ReplyAction.REPLY)
|
||||
assertThat(replyActions.additionalActions).containsExactly(ReplyAction.REPLY_ALL)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue