reywechat 1.0.53__py3-none-any.whl → 1.0.54__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
@@ -956,10 +956,9 @@ class WeChatMessage(WeChatBase):
956
956
  return self._is_call
957
957
 
958
958
  # Text.
959
- if self.type == 1:
960
- text = self.data
961
- elif self.is_quote:
962
- text = self.quote_params['text']
959
+ if self.type in (1, 3, 34, 42, 43, 47, 48, 49, 50, 56, 1002):
960
+ text = self.text
961
+ text = text.strip()
963
962
  else:
964
963
  self._is_call = False
965
964
  self._call_text = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reywechat
3
- Version: 1.0.53
3
+ Version: 1.0.54
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=7UsHHfgFOgxuSqlTSAO6CprgUUOeBCXYus0kxmRBQxk,908
5
5
  reywechat/rclient.py,sha256=lc1CPle9h08mwP8NlJN0ybzcNJxtpV0ma6q6cz1RIxk,22518
6
6
  reywechat/rdb.py,sha256=KfGo6OlTwh4p78VCGqw8lI6cNFGM2CSlpp1OpF7sqSI,48342
7
7
  reywechat/rlog.py,sha256=4EsTgrgC05JvWeKAucUaWGga638CRRJISJN6qncBCAw,5249
8
- reywechat/rreceive.py,sha256=WoDKU_1BT3KdOD9y7M0sdfJFkzre6eTUMNCvWnyjYR8,48224
8
+ reywechat/rreceive.py,sha256=AubilVG1e95gukkhlFL9V7WjhRTbkGaqPxSPehTbf4Q,48225
9
9
  reywechat/rsend.py,sha256=aTmc1ycL8bon4KXoX7VpRWQKTsVER6f6bRLKWWvPspY,18049
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.53.dist-info/METADATA,sha256=zzKQxHhpq4J4VZWdp2rDIuaJQXC8k6CAjhbAJpGuxoI,1551
14
- reywechat-1.0.53.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- reywechat-1.0.53.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
- reywechat-1.0.53.dist-info/RECORD,,
13
+ reywechat-1.0.54.dist-info/METADATA,sha256=qDFNVoRlHH9WQ1ej-wQR_eTifKOeGmn8eNo6aTjlWmA,1551
14
+ reywechat-1.0.54.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ reywechat-1.0.54.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
+ reywechat-1.0.54.dist-info/RECORD,,