reywechat 1.0.58__py3-none-any.whl → 1.0.59__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 +10 -2
- {reywechat-1.0.58.dist-info → reywechat-1.0.59.dist-info}/METADATA +1 -1
- {reywechat-1.0.58.dist-info → reywechat-1.0.59.dist-info}/RECORD +5 -5
- {reywechat-1.0.58.dist-info → reywechat-1.0.59.dist-info}/WHEEL +0 -0
- {reywechat-1.0.58.dist-info → reywechat-1.0.59.dist-info}/licenses/LICENSE +0 -0
reywechat/rreceive.py
CHANGED
@@ -990,7 +990,11 @@ class WeChatMessage(WeChatBase):
|
|
990
990
|
return self._is_call
|
991
991
|
|
992
992
|
# Text.
|
993
|
-
if
|
993
|
+
if (
|
994
|
+
self.type in (1, 3, 34, 42, 43, 47, 48, 49, 50, 56)
|
995
|
+
or self.is_pat
|
996
|
+
or self.is_recall
|
997
|
+
):
|
994
998
|
text = self.text
|
995
999
|
text = text.strip()
|
996
1000
|
else:
|
@@ -1023,7 +1027,10 @@ class WeChatMessage(WeChatBase):
|
|
1023
1027
|
self.is_last_call
|
1024
1028
|
|
1025
1029
|
## Private chat.
|
1026
|
-
or
|
1030
|
+
or (
|
1031
|
+
self.room is None
|
1032
|
+
and self.user is not None
|
1033
|
+
)
|
1027
1034
|
|
1028
1035
|
## Pat me.
|
1029
1036
|
or self.is_pat_me
|
@@ -1257,6 +1264,7 @@ class WeChatMessage(WeChatBase):
|
|
1257
1264
|
and (
|
1258
1265
|
self.data == '以上是打招呼的内容'
|
1259
1266
|
or self.data.startswith('你已添加了')
|
1267
|
+
or self.data.endswith(',现在可以开始聊天了。')
|
1260
1268
|
)
|
1261
1269
|
)
|
1262
1270
|
|
@@ -5,12 +5,12 @@ reywechat/rcache.py,sha256=7UsHHfgFOgxuSqlTSAO6CprgUUOeBCXYus0kxmRBQxk,908
|
|
5
5
|
reywechat/rclient.py,sha256=lc1CPle9h08mwP8NlJN0ybzcNJxtpV0ma6q6cz1RIxk,22518
|
6
6
|
reywechat/rdb.py,sha256=PBEg_9Ig07vwqH3RNLaIWZZD7Joe6MQceiNB21hGAj0,48654
|
7
7
|
reywechat/rlog.py,sha256=4EsTgrgC05JvWeKAucUaWGga638CRRJISJN6qncBCAw,5249
|
8
|
-
reywechat/rreceive.py,sha256=
|
8
|
+
reywechat/rreceive.py,sha256=vzE2MmWOFK2usVGaOf7mtNkyb6evstDkFOjTMhfKFwY,51812
|
9
9
|
reywechat/rsend.py,sha256=yrJf9GzWVCDptUHHazhWSVW0nm2LCIbb0sz2EII63bY,20049
|
10
10
|
reywechat/rtrigger.py,sha256=WdOQwobPdGPyyE9J-qtQFPd60713T0aWqKk02PLdCRE,4966
|
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.59.dist-info/METADATA,sha256=XyWnYRmTKu--BIZhMsH2_U6g-oUVPCf6azo_yXRa1Mk,1551
|
14
|
+
reywechat-1.0.59.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
reywechat-1.0.59.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
16
|
+
reywechat-1.0.59.dist-info/RECORD,,
|
File without changes
|
File without changes
|