|
@@ -167,7 +167,7 @@ class WechatChannel(ChatChannel): |
|
|
logger.debug("[WX]receive voice for group msg: {}".format(cmsg.content)) |
|
|
logger.debug("[WX]receive voice for group msg: {}".format(cmsg.content)) |
|
|
elif cmsg.ctype == ContextType.IMAGE: |
|
|
elif cmsg.ctype == ContextType.IMAGE: |
|
|
logger.debug("[WX]receive image for group msg: {}".format(cmsg.content)) |
|
|
logger.debug("[WX]receive image for group msg: {}".format(cmsg.content)) |
|
|
elif cmsg.ctype in [ContextType.JOIN_GROUP, ContextType.PATPAT]: |
|
|
|
|
|
|
|
|
elif cmsg.ctype in [ContextType.JOIN_GROUP, ContextType.PATPAT, ContextType.ACCEPT_FRIEND]: |
|
|
logger.debug("[WX]receive note msg: {}".format(cmsg.content)) |
|
|
logger.debug("[WX]receive note msg: {}".format(cmsg.content)) |
|
|
elif cmsg.ctype == ContextType.TEXT: |
|
|
elif cmsg.ctype == ContextType.TEXT: |
|
|
# logger.debug("[WX]receive group msg: {}, cmsg={}".format(json.dumps(cmsg._rawmsg, ensure_ascii=False), cmsg)) |
|
|
# logger.debug("[WX]receive group msg: {}, cmsg={}".format(json.dumps(cmsg._rawmsg, ensure_ascii=False), cmsg)) |
|
|