pidgin/pidgin

PurpleMessage cleanups from hell

2020-10-03, Gary Kramlich
9ceb8d25d4d9
PurpleMessage cleanups from hell

Clean up libpurple/message.[ch] and remove the messages hash table as its current implementation will not fit our future needs

add a content-type property to PurpleMessage

Convert message timestamps from time_t to GDateTime and set default values

Make purple_message_new_outgoing take a parameter for the author.

Testing Done:
messages sent on bonjour, irc privmsg, irc chat, `/me` is broken i think unrelated.

Reviewed at https://reviews.imfreedom.org/r/124/
[Desktop Entry]
Name=Pidgin 3
GenericName=Internet Messenger
Comment=Chat over IM. Supports AIM, Google Talk, Jabber/XMPP, and more
Exec=pidgin3 %U
Icon=im.pidgin.Pidgin3
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
MimeType=x-scheme-handler/aim;x-scheme-handler/gg;x-scheme-handler/icq;x-scheme-handler/irc;x-scheme-handler/msnim;x-scheme-handler/sip;x-scheme-handler/xmpp;x-scheme-handler/ymsgr
@USES_MM_CHAT_SECTION@