mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
Unified "simplification" to ASCII only for text messages
Based on the codepage discussion of text messages * in text message value object still store the unicode string * the text is only "cleaned" up and Qt "simplified" (do not confuse with conversion to ASCII) * only place where we simplify to ASCII only is ** in VATLIB ** or the utility
This commit is contained in:
committed by
Mat Sutcliffe
parent
1e35519a0d
commit
cb084427ec
@@ -415,7 +415,7 @@ namespace BlackCore
|
||||
if (parser.countParts() < 2) { return false; }
|
||||
if (!m_network) { return false; }
|
||||
if (!this->isConnected()) { return false; }
|
||||
const QString wallopMsg = simplifyAccents(parser.part(1).simplified().trimmed());
|
||||
const QString wallopMsg = parser.part(1).simplified().trimmed();
|
||||
m_network->sendWallopMessage(wallopMsg);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user