pidgin/pidgin

Fix up the XEP-0280 carbons support.

2021-01-30, Gary Kramlich
2fc55152b79c
Fix up the XEP-0280 carbons support.

My initial port of this wasn't great, this is much better.

Testing Done:
sent messages between pidgin2 with gkdr/carbons, conversations on my phone, and pidgin3. I sent messages from all clients and received them on all three clients.

Reviewed at https://reviews.imfreedom.org/r/462/
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