summaryrefslogtreecommitdiff
path: root/poezio/core
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core')
-rw-r--r--poezio/core/core.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index b8855efe..74041429 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -2008,8 +2008,10 @@ class Core:
nick,
passwd=bm.password,
status=self.status.message,
- show=self.status.show)
- mam.mam_scroll(tab, action='query')
+ show=self.status.show,
+ tab=tab)
+ if tab._text_buffer.last_message is None:
+ mam.mam_scroll(tab, action='query')
def check_bookmark_storage(self, features):
private = 'jabber:iq:private' in features