mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-26 08:18:08 +00:00
Fix for Android : it doesn't understand paragraph ans line separators.
This commit is contained in:
parent
938477a2c0
commit
83ec9407d5
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ void ChatRoomProxyModel::sendMessage(const QString &text){
|
|||
QString trim = text.trimmed();
|
||||
if (mChatRoomModel){
|
||||
trim.replace(QChar::LineSeparator, QChar::LineFeed);// U+2028 is not recognized on Android app.
|
||||
trim.replace(QChar::ParagraphSeparator, QChar::LineFeed);// U+2029 is not recognized on Android app.
|
||||
mChatRoomModel->sendMessage(trim);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue