replay: replay deprecated pandaState if pandaStates is whitelisted (#28275)
old-commit-hash: 00ff096ca2f9ca5e1c0f6a78702dc3cc78978092
This commit is contained in:
@@ -30,6 +30,9 @@ Replay::Replay(QString route, QStringList allow, QStringList block, SubMaster *s
|
||||
// the following events are needed for replay to work properly.
|
||||
allow_list.insert(cereal::Event::Which::INIT_DATA);
|
||||
allow_list.insert(cereal::Event::Which::CAR_PARAMS);
|
||||
if (sockets_[cereal::Event::Which::PANDA_STATES] != nullptr) {
|
||||
allow_list.insert(cereal::Event::Which::PANDA_STATE_D_E_P_R_E_C_A_T_E_D);
|
||||
}
|
||||
}
|
||||
|
||||
qDebug() << "services " << s;
|
||||
|
||||
Reference in New Issue
Block a user