pidgin/pidgin

Fix an infinite loop when an account goes offline and you have an im open.

Testing Done:
Connected an account, opened an im, closed pidgin, verified it didn't hang.

Reviewed at https://reviews.imfreedom.org/r/763/
if ENABLE_DOC
subdir('reference')
endif
if ENABLE_GTK
pidgin_man = configure_file(
input : 'pidgin3.1.in',
output : 'pidgin3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif
if enable_consoleui
finch_man = configure_file(
input : 'finch3.1.in',
output : 'finch3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif