diff --git a/include/transport/localbuddy.h b/include/transport/localbuddy.h index 7a0ff92da8f77916b13b1efc5b1cf8d3e8ea2292..5e80fb10efb80a6b5c20b8f5679a1b98be91bb96 100644 --- a/include/transport/localbuddy.h +++ b/include/transport/localbuddy.h @@ -45,18 +45,10 @@ class LocalBuddy : public Buddy { return true; } - void setStatus(const Swift::StatusShow &status, const std::string &statusMessage) { - m_status = status; - m_statusMessage = statusMessage; - } + void setStatus(const Swift::StatusShow &status, const std::string &statusMessage); std::string getIconHash() { return m_iconHash; } - void setIconHash(const std::string &iconHash) { - bool changed = m_iconHash != iconHash; - m_iconHash = iconHash; - if (changed) - getRosterManager()->storeBuddy(this); - } + void setIconHash(const std::string &iconHash); std::vector getGroups() { return m_groups; } void setGroups(const std::vector &groups);