Autoscroll gets disabled despite scrolling to the very bottom
After the recent change the wrong behavior can be reproduced as follows. Scroll up, scroll down, Autoscroll gets enabled and immediately disabled again. I've added additional logging:
(I) gajim.autoscroll already disabled
(I) gajim.autoscroll Autoscroll enabled
(I) gajim.autoscroll Scroll Up # !!!
(I) gajim.autoscroll get_upper() = 145, get_page_size() = 103
(I) gajim.autoscroll Autoscroll disabled
(I) gajim.autoscroll already disabled
Instead of "Scroll Down", the default event 0 ("Scroll Up") is used, since has_direction = false is ignored.