Always set the message sender's reply-recipient when they send a message.

This commit is contained in:
Ali Moghnieh 2015-11-03 00:40:56 +00:00
parent 928f05ca8f
commit cf448cd1cc

View File

@ -70,12 +70,9 @@ public class SimpleMessageRecipient implements IMessageRecipient {
default:
sendMessage(tl("msgFormat", tl("me"), recipient.getDisplayName(), message));
}
if (ess.getSettings().isLastMessageReplyRecipient()) {
// If the message was a success, set this sender's reply-recipient to the current recipient.
if (messageResponse.isSuccess()) {
setReplyRecipient(recipient);
}
// If the message was a success, set this sender's reply-recipient to the current recipient.
if (messageResponse.isSuccess()) {
setReplyRecipient(recipient);
}
return messageResponse;
}