adium: fix duplicate debug log messages (II)
commit3869f9c3d01d708127f372e79959fe66a880239e
authorStefan Becker <chemobejk@gmail.com>
Sat, 24 Jan 2015 17:32:18 +0000 (24 19:32 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sat, 24 Jan 2015 19:26:35 +0000 (24 21:26 +0200)
tree2815788404dd4ad61ebe5d402b218e407f3ea811
parentbff57b76d6809ea7ae23cc5cd137182edf843651
adium: fix duplicate debug log messages (II)

This reverts commit bff57b76d6809ea7ae23cc5cd137182edf843651.

SIPEAdiumPlugin was errorneously calling purple_debug_set_enabled(TRUE).
This is never called by Adium on purpose to avoid duplicate log messages
from libpurple. That means that purple_debug_is_enabled() always returns
FALSE for Adium.

Replace it with AIDebugLoggingIsEnabled() when compiling for Adium.

Thanks to Thijs Alkemade for pointing out the error in SIPEAdiumPlugin
code.
src/adium/ESSIPELibpurpleServicePlugin.m
src/purple/purple-debug.c