From 2033ae2ab8be0c1a5121b89a0888245a3024585f Mon Sep 17 00:00:00 2001 From: Changhua Date: Fri, 31 Jan 2025 11:17:41 +0800 Subject: [PATCH] Refactoring --- WeChatFerry/spy/chatroom_mgmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChatFerry/spy/chatroom_mgmt.cpp b/WeChatFerry/spy/chatroom_mgmt.cpp index 602042e..db496b3 100644 --- a/WeChatFerry/spy/chatroom_mgmt.cpp +++ b/WeChatFerry/spy/chatroom_mgmt.cpp @@ -84,7 +84,7 @@ int invite_chatroom_member(const string &roomid, const string &wxids) WxString *p_wx_roomid = NewWxStringFromStr(roomid); QWORD p_members = reinterpret_cast(&wx_members.front()); - return static_cast(invite_members(reinterpret_cast(p_wx_roomid->c_str()), p_members, + return static_cast(invite_members(reinterpret_cast(p_wx_roomid->wptr), p_members, reinterpret_cast(p_wx_roomid), 0)); }