summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-03-31 11:52:27 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2022-03-31 11:52:27 +0200
commitafae22656250c231d3ce03acc134d15bc40af6b9 (patch)
tree7702efe95f37281758ff34323417c3b889c8e36f
parentd2048068b250f355b1b8ca7b0780de3aa50983c7 (diff)
downloadpoezio-afae22656250c231d3ce03acc134d15bc40af6b9.tar.gz
poezio-afae22656250c231d3ce03acc134d15bc40af6b9.tar.bz2
poezio-afae22656250c231d3ce03acc134d15bc40af6b9.tar.xz
poezio-afae22656250c231d3ce03acc134d15bc40af6b9.zip
PrivateTab: Display initial message when no use_log
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/tabs/basetabs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 37dea9c3..a0fce822 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -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()
)