summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r--protocols/WhatsApp/src/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h
index a143922df5..778db45ccf 100644
--- a/protocols/WhatsApp/src/proto.h
+++ b/protocols/WhatsApp/src/proto.h
@@ -131,7 +131,7 @@ public:
bool IsGroupChat(HANDLE hC, bool checkIsAdmin = false)
{
- return db_get_b(hC, m_szModuleName, "SimpleChatRoom", 0) > (checkIsAdmin ? 1 : 0);
+ return getByte(hC, "SimpleChatRoom", 0) > (checkIsAdmin ? 1 : 0);
}
// Registration