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,13 +70,10 @@ public class SimpleMessageRecipient implements IMessageRecipient {
default: default:
sendMessage(tl("msgFormat", tl("me"), recipient.getDisplayName(), message)); 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 the message was a success, set this sender's reply-recipient to the current recipient.
if (messageResponse.isSuccess()) { if (messageResponse.isSuccess()) {
setReplyRecipient(recipient); setReplyRecipient(recipient);
} }
}
return messageResponse; return messageResponse;
} }