fix wrong key for history reuse
This commit is contained in:
parent
ecc899b4fa
commit
0cdffeb6d6
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class Telegrams:
|
|||
telegram["payload"] = tuple(telegram["payload"]) # type: ignore[unreachable]
|
||||
self.recent_telegrams.extend(telegrams)
|
||||
self.last_ga_telegrams = {
|
||||
t["source"]: t for t in telegrams if t["payload"] is not None
|
||||
t["destination"]: t for t in telegrams if t["payload"] is not None
|
||||
}
|
||||
|
||||
async def save_history(self) -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue