mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added win_page_off to subscriptions to scroll window
This commit is contained in:
parent
07d624c513
commit
e64889b6fc
@ -153,16 +153,19 @@ prof_handle_subscription(const char *from, jabber_subscr_t type)
|
|||||||
cons_show("Received authorization request from %s", from);
|
cons_show("Received authorization request from %s", from);
|
||||||
log_info("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_show_system_msg(from, "Authorization request, type '/sub add' to accept or '/sub del' to reject");
|
||||||
|
win_page_off();
|
||||||
break;
|
break;
|
||||||
case PRESENCE_SUBSCRIBED:
|
case PRESENCE_SUBSCRIBED:
|
||||||
cons_show("Subscription received from %s", from);
|
cons_show("Subscription received from %s", from);
|
||||||
log_info("Subscription received from %s", from);
|
log_info("Subscription received from %s", from);
|
||||||
win_show_system_msg(from, "Subscribed");
|
win_show_system_msg(from, "Subscribed");
|
||||||
|
win_page_off();
|
||||||
break;
|
break;
|
||||||
case PRESENCE_UNSUBSCRIBED:
|
case PRESENCE_UNSUBSCRIBED:
|
||||||
cons_show("%s deleted subscription", from);
|
cons_show("%s deleted subscription", from);
|
||||||
log_info("%s deleted subscription", from);
|
log_info("%s deleted subscription", from);
|
||||||
win_show_system_msg(from, "Unsubscribed");
|
win_show_system_msg(from, "Unsubscribed");
|
||||||
|
win_page_off();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* unknown type */
|
/* unknown type */
|
||||||
|
Loading…
Reference in New Issue
Block a user