From e64889b6fc8c20d21328eebb1abbb82f9a3bf597 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 11 Nov 2012 19:45:49 +0000 Subject: [PATCH] Added win_page_off to subscriptions to scroll window --- src/profanity.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/profanity.c b/src/profanity.c index fb25a9f4..434a6c3a 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -153,16 +153,19 @@ prof_handle_subscription(const char *from, jabber_subscr_t type) cons_show("Received authorization request from %s", from); log_info("Received authorization request from %s", from); win_show_system_msg(from, "Authorization request, type '/sub add' to accept or '/sub del' to reject"); + win_page_off(); break; case PRESENCE_SUBSCRIBED: cons_show("Subscription received from %s", from); log_info("Subscription received from %s", from); win_show_system_msg(from, "Subscribed"); + win_page_off(); break; case PRESENCE_UNSUBSCRIBED: cons_show("%s deleted subscription", from); log_info("%s deleted subscription", from); win_show_system_msg(from, "Unsubscribed"); + win_page_off(); break; default: /* unknown type */