Fine-tuning away behaviour: empty message implies no message.

cefexperiments 5309
Danny van Heumen 11 years ago
parent bb8e878514
commit 3ab235a344

@ -339,9 +339,7 @@ public void publishPresenceStatus(final PresenceStatus status,
if (statusMessage != null && statusMessage.isEmpty())
{
// if we provide a message, make sure it isn't empty
statusMessage =
IrcActivator.getResources().getI18NString(
"service.gui.AWAY_STATUS");
statusMessage = null;
}
final IrcStack provider = this.parentProvider.getIrcStack();
if (status.getStatus() >= IrcStatusEnum.AVAILABLE_THRESHOLD)

@ -136,7 +136,7 @@ public void away(final boolean isAway, final String awayMessage)
if (isAway && (!this.away || awayMessage != null))
{
// In case we aren't AWAY yet, or in case the message has changed.
// In case we aren't AWAY yet, or if there is a message to set.
this.irc.rawMessage("AWAY :" + this.submittedMessage);
}
else if (isAway != this.away)

Loading…
Cancel
Save