PrivateTab: Display initial message when no use_log
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
d2048068b2
commit
afae226562
1 changed files with 2 additions and 0 deletions
|
@ -1037,6 +1037,8 @@ class OneToOneTab(ChatTab):
|
||||||
asyncio.create_task(fallback_no_mam())
|
asyncio.create_task(fallback_no_mam())
|
||||||
elif use_log and initial:
|
elif use_log and initial:
|
||||||
asyncio.create_task(self.handle_message(initial, display=False))
|
asyncio.create_task(self.handle_message(initial, display=False))
|
||||||
|
elif initial:
|
||||||
|
asyncio.create_task(self.handle_message(initial))
|
||||||
asyncio.create_task(
|
asyncio.create_task(
|
||||||
LogLoader(logger, self, use_log, self._initial_log).tab_open()
|
LogLoader(logger, self, use_log, self._initial_log).tab_open()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue