purple: only accept SIPE accounts from D-Bus
commita0f24d47530fbee78bc2c841b249dae819c314c6
authorStefan Becker <chemobejk@gmail.com>
Mon, 7 Aug 2017 17:26:38 +0000 (7 20:26 +0300)
committerStefan Becker <chemobejk@gmail.com>
Mon, 7 Aug 2017 17:26:38 +0000 (7 20:26 +0300)
tree59285a76ba976005733786321e6a0088d8d4e9a8
parent3cd9e1450514fddd217eff36c0540e2bcfa6433d
purple: only accept SIPE accounts from D-Bus

Don't call core APIs with an account that isn't SIPE. Add another
check to prevent crashes from D-Bus calls.
src/purple/purple-dbus.c