about summary refs log tree commit diff stats
path: root/tests/unittests/database
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-08 17:12:16 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-11 16:05:14 +0200
commite878b6d266fba2ce8dfabedcbb83163d7ec75178 (patch)
tree7ea1a63e0ad38461dfc2c6a1611fc680bcf7ee11 /tests/unittests/database
parentfe9b520c42ad404dee6137fc5c0937a6bd30bbc4 (diff)
downloadprofani-tty-e878b6d266fba2ce8dfabedcbb83163d7ec75178.tar.gz
Don't crash if we get a message without from or type
MAM messages don't have a type nor a from.
If we detect a message without type let's log it and exit without
continuing to try to parse it.

Otherwise we go into _handle_chat() and crash on the no from.
Diffstat (limited to 'tests/unittests/database')
0 files changed, 0 insertions, 0 deletions