diff options
author | mathieui <mathieui@mathieui.net> | 2020-05-22 01:36:13 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-23 16:10:13 +0200 |
commit | d174e1fa352dd5b8c479a71123ab25a7371dd5bd (patch) | |
tree | 4d14baaa0f230c3ce387a4311cdf0e43a870c9b3 /poezio/tabs/muctab.py | |
parent | 54339ee7e070dd51229d7ad939d8d24963438694 (diff) | |
download | poezio-d174e1fa352dd5b8c479a71123ab25a7371dd5bd.tar.gz poezio-d174e1fa352dd5b8c479a71123ab25a7371dd5bd.tar.bz2 poezio-d174e1fa352dd5b8c479a71123ab25a7371dd5bd.tar.xz poezio-d174e1fa352dd5b8c479a71123ab25a7371dd5bd.zip |
MAM: many changes
- Fix color & nicks in one to one chats
- Make poezio-facing functions "schedules" to avoid races on tab query
state
- Rename functions
- Use a different behavior when filling a history gap and populating a
new tab in a MUC
Diffstat (limited to 'poezio/tabs/muctab.py')
-rw-r--r-- | poezio/tabs/muctab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 7b0f8a42..edf80bb6 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -170,7 +170,7 @@ class MucTab(ChatTab): status=status.message, show=status.show, seconds=seconds) - asyncio.ensure_future(mam.on_tab_open(self)) + mam.schedule_tab_open(self) def leave_room(self, message: str): if self.joined: |