ehForwarderBot / efb-wechat-slave

A channel for EH Forwarder Bot.
GNU Affero General Public License v3.0
459 stars 62 forks source link

Strangers. Cannot display chat content #108

Open shzxm opened 4 years ago

shzxm commented 4 years ago

我发现最近还有一个问题./不知道是不是网页的问题

我的微信是不需要通过我同意就可以添加我为好友

但是.只要不是我的好友.对方给我发送的消息是无法发送到tg的

只有我在手机端可以看到.发送了消息以后.可以转发到tg.

— shzxm, Aug 25 2020

8月 25 17:50:29 server ehforwarderbot[762]: 2020-08-25 17:50:29,562 [ERROR]: efb_wechat_slave.vendor.wxpy.api.bot (
8月 25 17:50:29 server ehforwarderbot[762]: an error occurred in <bound method SlaveMessageManager.Decorators.wecha
8月 25 17:50:29 server ehforwarderbot[762]: Traceback (most recent call last):
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/vendor/wx
8月 25 17:50:29 server ehforwarderbot[762]: ret = config.func(msg)
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/slave_mes
8月 25 17:50:29 server ehforwarderbot[762]: name=f"EWS slave message thread running {func}").run()
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/lib64/python3.6/threading.py", line 864, in run
8月 25 17:50:29 server ehforwarderbot[762]: self._target(*self._args, **self._kwargs)
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/slave_mes
8月 25 17:50:29 server ehforwarderbot[762]: coordinator.send_message(efb_msg)
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/ehforwarderbot/coordinator
8月 25 17:50:29 server ehforwarderbot[762]: msg.verify()
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/ehforwarderbot/message.py"
8月 25 17:50:29 server ehforwarderbot[762]: self.author.verify()
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/ehforwarderbot/chat.py", l
8月 25 17:50:29 server ehforwarderbot[762]: super().verify()
8月 25 17:50:29 server ehforwarderbot[762]: File "/usr/local/lib/python3.6/site-packages/ehforwarderbot/chat.py", l
8月 25 17:50:29 server ehforwarderbot[762]: assert self.uid, "Entity ID should not be empty"
8月 25 17:50:29 server ehforwarderbot[762]: AssertionError: Entity ID should not be empty
blueset commented 3 years ago

Issue still occurs, reported by Roy.