PrivateTab: Display initial message when no use_log

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-03-31 11:52:27 +02:00
parent d2048068b2
commit afae226562
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -1037,6 +1037,8 @@ class OneToOneTab(ChatTab):
asyncio.create_task(fallback_no_mam())
elif use_log and initial:
asyncio.create_task(self.handle_message(initial, display=False))
elif initial:
asyncio.create_task(self.handle_message(initial))
asyncio.create_task(
LogLoader(logger, self, use_log, self._initial_log).tab_open()
)