MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    关于MessageEvent.Sender的问题

    BUG反馈
    1
    2
    328
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 舔狗___
      舔狗___ last edited by

      目前确实发现了这样一个问题:
      描述一下:

      我在在测试时使用的是二维码登录 手表协议
      在Bot登录成功后, 使用Bot给其他人发消息(仅私聊时), 会触发消息事件. 而且事件中的 sender 不是 Bot自身 而是目标好友

      问题版本: 2.15.0-M1, 2.15.0-RC

      example:
      c9cdf71f-f431-41e3-af7d-a8325a509167-image.png

      登录的账号:

      be5bf1f7-5da8-4bdc-89c5-11a94c6ee76c-image.png

      日志中打印的账号:

      ffe06b1a-3691-4974-90ea-ed2208d24bc2-image.png

      请问这种情况是正常的吗?

      1 Reply Last reply Reply Quote 0
      • 舔狗___
        舔狗___ last edited by

        补充一下 打印的是sender.id 忘记截图了

        image.png

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact