mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix for Android : it doesn't understand paragraph ans line separators.
This commit is contained in:
parent
6797b155ae
commit
2923ce471f
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