Fixing message preview.
This commit is contained in:
parent
3921f3a940
commit
748443cd4e
|
@ -32,6 +32,7 @@ import eu.siacs.conversations.entities.Presence;
|
|||
import eu.siacs.conversations.entities.RtpSessionStatus;
|
||||
import eu.siacs.conversations.entities.Transferable;
|
||||
import eu.siacs.conversations.services.ExportBackupService;
|
||||
import eu.siacs.conversations.ui.util.QuoteHelper;
|
||||
import eu.siacs.conversations.xmpp.Jid;
|
||||
|
||||
public class UIHelper {
|
||||
|
@ -328,7 +329,7 @@ public class UIHelper {
|
|||
continue;
|
||||
}
|
||||
char first = l.charAt(0);
|
||||
if ((first != '>' || !isPositionFollowedByQuoteableCharacter(l, 0)) && first != '\u00bb') {
|
||||
if ((!QuoteHelper.isPositionQuoteStart(l, 0)) && first != '\u00bb') {
|
||||
CharSequence line = CharSequenceUtils.trim(l);
|
||||
if (line.length() == 0) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue