summaryrefslogtreecommitdiff
path: root/protocols/Teams/src/teams_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Teams/src/teams_contacts.cpp')
-rw-r--r--protocols/Teams/src/teams_contacts.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Teams/src/teams_contacts.cpp b/protocols/Teams/src/teams_contacts.cpp
index 8579aed3c3..9c7a1f728d 100644
--- a/protocols/Teams/src/teams_contacts.cpp
+++ b/protocols/Teams/src/teams_contacts.cpp
@@ -17,14 +17,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-uint16_t CTeamsProto::GetContactStatus(MCONTACT hContact)
-{
- return getWord(hContact, "Status", ID_STATUS_OFFLINE);
-}
-
void CTeamsProto::SetContactStatus(MCONTACT hContact, uint16_t status)
{
- uint16_t oldStatus = GetContactStatus(hContact);
+ uint16_t oldStatus = getWord(hContact, "Status", ID_STATUS_OFFLINE);
if (oldStatus != status) {
setWord(hContact, "Status", status);
if (status == ID_STATUS_OFFLINE)