mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-05 18:09:24 +08:00
@消息和ocr
This commit is contained in:
parent
5ba4f72d5c
commit
8279303614
@ -5,6 +5,7 @@
|
||||
|
||||
#include "wechat_function.h"
|
||||
#include "db.h"
|
||||
#include "contact_mgr.h"
|
||||
|
||||
namespace wxhelper {
|
||||
SendMessageMgr::SendMessageMgr(DWORD base):BaseMgr(base) {}
|
||||
@ -51,7 +52,8 @@ int SendMessageMgr::SendAtText(wchar_t* chat_room_id, wchar_t** wxids, int len,
|
||||
if (!lstrcmpiW((wchar_t *)wxids[i], (wchar_t *)L"notify@all")) {
|
||||
nickname = L"所有人";
|
||||
} else {
|
||||
// nickname = GlobalContext::GetInstance().contact_mgr->GetContactOrChatRoomNickname(wxids[i]);
|
||||
ContactMgr contact{base_addr_};
|
||||
nickname = contact.GetContactOrChatRoomNickname(wxids[i]);
|
||||
}
|
||||
if (nickname.length() == 0) {
|
||||
continue;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define WXHELPER_SEND_MESSAGE_MGR_H_
|
||||
#include "base_mgr.h"
|
||||
namespace wxhelper {
|
||||
class GlobalContext ;
|
||||
class SendMessageMgr:public BaseMgr {
|
||||
public:
|
||||
explicit SendMessageMgr(DWORD base);
|
||||
|
Loading…
Reference in New Issue
Block a user