reywechat 1.0.74__py3-none-any.whl → 1.0.76__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 +7 -2
- {reywechat-1.0.74.dist-info → reywechat-1.0.76.dist-info}/METADATA +1 -1
- {reywechat-1.0.74.dist-info → reywechat-1.0.76.dist-info}/RECORD +5 -5
- {reywechat-1.0.74.dist-info → reywechat-1.0.76.dist-info}/WHEEL +0 -0
- {reywechat-1.0.74.dist-info → reywechat-1.0.76.dist-info}/licenses/LICENSE +0 -0
reywechat/rreceive.py
CHANGED
@@ -422,7 +422,7 @@ class WeChatMessage(WeChatBase):
|
|
422
422
|
|
423
423
|
## System.
|
424
424
|
case 10000:
|
425
|
-
self._cache['text'] = '[
|
425
|
+
self._cache['text'] = f'[系统消息] {self.data}'
|
426
426
|
|
427
427
|
## Pat.
|
428
428
|
case 10002 if self.is_pat:
|
@@ -642,7 +642,7 @@ class WeChatMessage(WeChatBase):
|
|
642
642
|
return self._cache['is_file_uploaded']
|
643
643
|
|
644
644
|
# Judge.
|
645
|
-
self._cache['
|
645
|
+
self._cache['is_file_uploaded'] = (
|
646
646
|
self.type == 49
|
647
647
|
and self.share_type == 6
|
648
648
|
)
|
@@ -958,6 +958,11 @@ class WeChatMessage(WeChatBase):
|
|
958
958
|
or (
|
959
959
|
self.room is None
|
960
960
|
and self.user is not None
|
961
|
+
and (
|
962
|
+
self.type in (1, 3, 34, 42, 43, 47, 48, 49, 50, 56, 10000)
|
963
|
+
or self.is_pat
|
964
|
+
or self.is_recall
|
965
|
+
)
|
961
966
|
)
|
962
967
|
|
963
968
|
## Pat me.
|
@@ -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=
|
8
|
+
reywechat/rreceive.py,sha256=YvjunkwL-cV9dMVaJPtOr1pM43N1zWOQeTOQkjSDzjw,51006
|
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.
|
14
|
-
reywechat-1.0.
|
15
|
-
reywechat-1.0.
|
16
|
-
reywechat-1.0.
|
13
|
+
reywechat-1.0.76.dist-info/METADATA,sha256=zg1Wpt_XWTjYG06QjWewstgOp64nNQZDD4jF0l9LPlM,1551
|
14
|
+
reywechat-1.0.76.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
reywechat-1.0.76.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
16
|
+
reywechat-1.0.76.dist-info/RECORD,,
|
File without changes
|
File without changes
|