telepathy: add SIPE_UNSAFE_DEBUG variable
commit11a2c3f2cc1c8144027860ddc03c24ab1d0b4bc9
authorStefan Becker <chemobejk@gmail.com>
Sat, 20 Jan 2018 19:52:34 +0000 (20 21:52 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sat, 20 Jan 2018 19:52:34 +0000 (20 21:52 +0200)
tree06e9b51795783a48427f793195a09018def754e9
parenta5b008dbd636afbe0c250259ae4826b17331aa74
telepathy: add SIPE_UNSAFE_DEBUG variable

Setting the environment variable SIPE_UNSAFE_DEBUG=1 will enable dumping
of message contents to the debug log. sipe_backend_debug_enabled() will
only return TRUE if this variable is set.

This emulates the behaviour of the purple backend.
src/telepathy/telepathy-debug.c