diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/window.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index b6130348..4794e5c0 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -602,8 +602,14 @@ win_page_up(ProfWin* window) if (*page_start == -page_space && prefs_get_boolean(PREF_MAM) && window->type == WIN_CHAT) { ProfChatWin* chatwin = (ProfChatWin*) window; - chatwin_old_history(chatwin); + if (!chatwin_old_history(chatwin)) { + cons_show("Fetched mam"); + iq_mam_request_older(chatwin); + } else { + cons_show("Showed history"); + } } + // went past beginning, show first page if (*page_start < 0) *page_start = 0; |