We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af69676 + c06b20a commit df43455Copy full SHA for df43455
source/kraken/fill_disruption_from_database.h
@@ -196,7 +196,8 @@ struct DisruptionDatabaseReader {
196
fill_channel(const_it, channel);
197
message_ids.insert(const_it["message_id"].template as<std::string>());
198
}
199
- if (impact && channel && (last_channel_type_id != const_it["channel_type_id"].template as<std::string>())) {
+ if (impact && channel && (channel->id() == const_it["channel_id"].template as<std::string>())
200
+ && (last_channel_type_id != const_it["channel_type_id"].template as<std::string>())) {
201
fill_channel_type(const_it, channel);
202
last_channel_type_id = const_it["channel_type_id"].template as<std::string>();
203
0 commit comments