Use message@id if there is one
Use just message-id for the thread with incoming WebXDC file
This force-starts a new XMPP thread where we are the origin so that
all messages on both sides that reply to this can have the same thread.
Set stanza id as well as origin-in
Allow messages with no text body
Rare but no reason to crash if it happens
Convert email WebXDC updates to XMPP
Use only In-Reply-To as the thread since that's the only thing DeltaChat
cares about so we can't rely on anything else to be a certain way for
WebXDC.
Add file extension for webxdc
Update gsasl/gnutls/network-protocol-xmpp
Use Encoding directly
faster and deterministic order
Set in-reply-to header
Use the most recent item in the references list, which will be correct
if we know the direct parent and close otherwise.
Initial WebXDC update translation
From XMPP to email
Never include SMIL, even if marked as attachment
Plain text attachment might be body of MMS
Make the + optional
Google Fi at least doesn't send it in headers
Ignore messages with no content type
They are status updates and other junk
Dedup to
Google Voice puts the number in both to and cc for some reason...