Fix is_at
This commit is contained in:
parent
2f70058811
commit
4edbced7de
@ -10,7 +10,7 @@ from fastapi import Body, FastAPI
|
||||
from pydantic import BaseModel
|
||||
from wcferry import Wcf, WxMsg
|
||||
|
||||
__version__ = "37.1.25.2"
|
||||
__version__ = "37.1.25.3"
|
||||
|
||||
|
||||
class Msg(BaseModel):
|
||||
@ -69,7 +69,7 @@ class Http(FastAPI):
|
||||
data["content"] = msg.content
|
||||
data["thumb"] = msg.thumb
|
||||
data["extra"] = msg.extra
|
||||
data["is_at"] = msg.is_at()
|
||||
data["is_at"] = msg.is_at(self.wcf.self_wxid)
|
||||
data["is_self"] = msg.from_self()
|
||||
data["is_group"] = msg.from_group()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user