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/
SILC_SOURCES = [
'buddy.c',
'chat.c',
'ft.c',
'ops.c',
'pk.c',
'silc.c',
'silcpurple.h',
'util.c',
'wb.c',
'wb.h'
]
if DYNAMIC_SILC
silc_prpl = shared_library('silcpurple', SILC_SOURCES,
dependencies : [silc, libpurple_dep, glib],
install : true, install_dir : PURPLE_PLUGINDIR)
endif