reywechat 1.0.73__py3-none-any.whl → 1.0.75__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
reywechat/rreceive.py CHANGED
@@ -642,7 +642,7 @@ class WeChatMessage(WeChatBase):
642
642
  return self._cache['is_file_uploaded']
643
643
 
644
644
  # Judge.
645
- self._cache['is_file_uploading'] = (
645
+ self._cache['is_file_uploaded'] = (
646
646
  self.type == 49
647
647
  and self.share_type == 6
648
648
  )
@@ -1108,7 +1108,7 @@ class WeChatMessage(WeChatBase):
1108
1108
  return self._cache['is_pat_me']
1109
1109
 
1110
1110
  # Judge.
1111
- pattern = r'<template><!\[CDATA\["\$\{[\da-z_]+\}" 拍了拍我\]\]></template>'
1111
+ pattern = fr'<template><!\[CDATA\["\$\{{[\da-z_]+\}}" 拍了拍(?:我| "\$\{{{self.receiver.wechat.client.login_info['id']}\}}")\]\]></template>'
1112
1112
  self._cache['is_pat_me'] = (
1113
1113
  self.is_pat
1114
1114
  and search(pattern, self.data) is not None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reywechat
3
- Version: 1.0.73
3
+ Version: 1.0.75
4
4
  Summary: WeChat method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reywechat/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -5,12 +5,12 @@ reywechat/rcache.py,sha256=5FIa8UB3VsLHT_EXHHmFP62a5AeS22anJCJXC8t4tWw,908
5
5
  reywechat/rclient.py,sha256=ayOtQ0CaF8ydXjirLdVed8FbpfdQVTKVSd0x4grs-pQ,22712
6
6
  reywechat/rdb.py,sha256=R3ZySPsLM5g0hChFBMxtG9MRZCZ433aMYa_LuggKK90,51010
7
7
  reywechat/rlog.py,sha256=TSA-_5pwlq0sUND2cnLDqXvdmAdMAkC7tXIz3WfJ7Xw,5259
8
- reywechat/rreceive.py,sha256=X39wYeD1LSW4XRD2zxjT-xCpWIqWaeox3VHB7cAuhwc,50732
8
+ reywechat/rreceive.py,sha256=IiR6zDiEBKl_HHkpfZf0etwlNx_N4XOVX0V6ERjwh6A,50796
9
9
  reywechat/rsend.py,sha256=BB42r24x37V1tb27HLhnB_2tILv-DW26F9QbhqiNes8,20101
10
10
  reywechat/rtrigger.py,sha256=c0peI208K2k2sOxtuszD8UMrhMrTGp0LMi_XE5ksJKg,4989
11
11
  reywechat/rwechat.py,sha256=g0pbprMPv_qWb_lGFrPDAWsJO4vPSIgFLkw0Y28CZUo,4751
12
12
  reywechat/data/client_api.dll,sha256=H9uj-x9Ztg0jFZK0yY6NsnyH5_119dQRFfoVVMidxRs,592384
13
- reywechat-1.0.73.dist-info/METADATA,sha256=au9PMuWjTAEc0NOChSMeGd9mWM71HlsZN2iqUxAFNwA,1551
14
- reywechat-1.0.73.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- reywechat-1.0.73.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
- reywechat-1.0.73.dist-info/RECORD,,
13
+ reywechat-1.0.75.dist-info/METADATA,sha256=fTpCHq03R6pH68hRGE2PFI39Ipz8Dikj7ZAt5O6E9D0,1551
14
+ reywechat-1.0.75.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ reywechat-1.0.75.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
+ reywechat-1.0.75.dist-info/RECORD,,