Code Monkey home page Code Monkey logo

Comments (2)

shellGrace avatar shellGrace commented on August 17, 2024

您好,关于「A 加入频道后,断网。此时 B 发频道消息,并且成功发送到频道。A 无法收到离线时的频道消息」是预期行为。在 A 重新连接网络后,sdk 会自动做重新登录恢复到原始状态的行为,此时 B 再发消息,A 可以收到。您可以通过在我们示例 demo 里监听 ConnectionStateChanged (查看 sdk 与后台的连接状态)的地方去打印回调参数,可实时看到当前状态和状态改变的原因。通过打印的参数,可在我们的官网文档中查阅对应的信息。

from rtm.

chudongvip avatar chudongvip commented on August 17, 2024

您好,关于「A 加入频道后,断网。此时 B 发频道消息,并且成功发送到频道。A 无法收到离线时的频道消息」是预期行为。在 A 重新连接网络后,sdk 会自动做重新登录恢复到原始状态的行为,此时 B 再发消息,A 可以收到。您可以通过在我们示例 demo 里监听 ConnectionStateChanged (查看 sdk 与后台的连接状态)的地方去打印回调参数,可实时看到当前状态和状态改变的原因。通过打印的参数,可在我们的官网文档中查阅对应的信息。

谢谢回复,但是我发送的是离线消息给A,按理A再次上线是可以收到该离线消息的把

from rtm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.