Skip to content

Commit

Permalink
Merge pull request #39 from lgc2333/patch-1
Browse files Browse the repository at this point in the history
fix: old satori protocol event convert
  • Loading branch information
RF-Tar-Railt authored Feb 3, 2025
2 parents 0ab4037 + a8acccd commit d03ee22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot/adapters/satori/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def ensure_login(cls, values):
if "login" not in values:
values["login"] = model_dump(
LoginOnline(
sn=values["self_id"],
sn=0,
status=LoginStatus.ONLINE,
adapter="satori",
platform=values["platform"],
Expand Down

0 comments on commit d03ee22

Please sign in to comment.