purple: fix wrong buddy state
commit4a94d31ed7adc83e669693343131a2d4e1d2385d
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 11 Jul 2018 10:44:26 +0000 (11 12:44 +0200)
committerStefan Becker <chemobejk@gmail.com>
Wed, 11 Jul 2018 12:40:19 +0000 (11 15:40 +0300)
tree4e90c0dca70a65bec4338f52adff877b20502e45
parent6887c21914c8d3a05974f392984ded6031e9c786
purple: fix wrong buddy state

This fixes commit 523e530afc27c674e8e9fd76d9f7b1e11c4ea76a which
incorrectly updated the purple buddy message using the old buddy status
instead of the new activity.

We now also clear the purple buddy message when there is no status
message for the buddy, e.g. when he goes offline.
src/purple/purple-buddy.c