mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
[FSD], use consolidateTextMessage again
This commit is contained in:
@@ -874,7 +874,8 @@ namespace BlackCore
|
|||||||
|
|
||||||
CTextMessage tm(textMessage.m_message, sender, receiver);
|
CTextMessage tm(textMessage.m_message, sender, receiver);
|
||||||
tm.setCurrentUtcTime();
|
tm.setCurrentUtcTime();
|
||||||
emit textMessagesReceived({ tm });
|
this->consolidateTextMessage(tm);
|
||||||
|
// emit textMessagesReceived({ tm });
|
||||||
}
|
}
|
||||||
else if (textMessage.m_type == TextMessage::RadioMessage)
|
else if (textMessage.m_type == TextMessage::RadioMessage)
|
||||||
{
|
{
|
||||||
@@ -1528,7 +1529,8 @@ namespace BlackCore
|
|||||||
const QString atisMessage(pendingQuery.m_atisMessage.join(QChar::LineFeed));
|
const QString atisMessage(pendingQuery.m_atisMessage.join(QChar::LineFeed));
|
||||||
CTextMessage tm(atisMessage, sender, receiver);
|
CTextMessage tm(atisMessage, sender, receiver);
|
||||||
tm.setCurrentUtcTime();
|
tm.setCurrentUtcTime();
|
||||||
emit textMessagesReceived(tm);
|
// emit textMessagesReceived(tm);
|
||||||
|
this->consolidateTextMessage(tm);
|
||||||
m_pendingAtisQueries.remove(sender);
|
m_pendingAtisQueries.remove(sender);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user