logic: switch back to handling messages in sequence by default
* handling all messages in parallel caused UI synchronization issues * for now the only message that requests to be handled in parallel is MessageActivateTokens
This commit is contained in:
@@ -8,7 +8,8 @@ class MessageBase
|
||||
{
|
||||
public:
|
||||
MessageBase()
|
||||
: m_isReplayed(false)
|
||||
: m_isParallel(false)
|
||||
, m_isReplayed(false)
|
||||
, m_isReplayCleared(false)
|
||||
, m_sendAsTask(true)
|
||||
, m_keepContent(false)
|
||||
@@ -34,6 +35,16 @@ public:
|
||||
m_sendAsTask = sendAsTask;
|
||||
}
|
||||
|
||||
bool isParallel() const
|
||||
{
|
||||
return m_isParallel;
|
||||
}
|
||||
|
||||
void setIsParallel(bool isParallel)
|
||||
{
|
||||
m_isParallel = isParallel;
|
||||
}
|
||||
|
||||
bool isReplayed() const
|
||||
{
|
||||
return m_isReplayed;
|
||||
@@ -95,6 +106,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
bool m_isParallel;
|
||||
|
||||
bool m_isReplayed;
|
||||
bool m_isReplayCleared;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user