add nick into reply fallback only for MUC
This commit is contained in:
parent
d7d922c1d1
commit
869182d640
|
@ -359,7 +359,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
|
||||||
Message m;
|
Message m;
|
||||||
String name = getAvatarName();
|
String name = getAvatarName();
|
||||||
|
|
||||||
if (name != null && !name.isEmpty()) {
|
if (name != null && !name.isEmpty() && conversation != null && conversation.getMode() == Conversational.MODE_MULTI) {
|
||||||
m = new Message(conversation, QuoteHelper.quote("<" + name + ">" + "\n" + MessageUtils.prepareQuote(this)) + "\n", ENCRYPTION_NONE);
|
m = new Message(conversation, QuoteHelper.quote("<" + name + ">" + "\n" + MessageUtils.prepareQuote(this)) + "\n", ENCRYPTION_NONE);
|
||||||
} else {
|
} else {
|
||||||
m = new Message(conversation, QuoteHelper.quote(MessageUtils.prepareQuote(this)) + "\n", ENCRYPTION_NONE);
|
m = new Message(conversation, QuoteHelper.quote(MessageUtils.prepareQuote(this)) + "\n", ENCRYPTION_NONE);
|
||||||
|
|
Loading…
Reference in a new issue