Closed eighthave closed 4 years ago
pure-python-otr does return the plain text when TLVs are present: https://github.com/python-otr/pure-python-otr/blob/1.0.1/src/potr/crypt.py#L190
as far as I understood the libotr code, it also returns the plain text when TLVs are present, but I could be wrong there.
The OTR spec describes a Data Message saying: "...a human-readable message..., optionally followed by... zero or more TLV (type/length/value) records..."[1] but
handleDataMessage()
always returns anull
"human readable message" whenever a TLV is present: