Git Product home page Git Product logo

fe_qwebchat_admin's People

Contributors

code-lynn avatar dependabot[bot] avatar fantasywxx avatar qunar-build avatar wohal avatar

Watchers

 avatar

Forkers

pang-w

fe_qwebchat_admin's Issues

Touch url doesn't work while Web url does

Description
It does not display message with TouchURL but displayed with WebURL.
TouchURL: IP:8997/webchat/touch/?strid=admin&shopId=shop_1
WebURL: IP:8997/webchat/web/?strid=admin&shopId=shop_1

Reproduce

  1. start startalk server include ejabberd, im_http_service, qfproxy, search, qchat_admin_open
  2. config startalk follow ejabberd doc
  3. add push url to ejabberd.yml
push_url:
  - "http://127.0.0.1:8083/push_service/qtapi/token/sendMessageToPush.qunar"
  - "http://127.0.0.1:8084/qchat_admin_open/msg/consumerMsg.qunar"

Expected behavior
A clear and concise description of what you expected to happen.
image

Screenshots
If applicable, add screenshots to help explain your problem.
image

Websocket Message as follow

<!-- touch send message -->
<message type='consult' from='d109f1bfdddc4a5fa95b08fdfb100605@qtalk/web-106565225' to='shop_1@qtalk' realfrom='d109f1bfdddc4a5fa95b08fdfb100605@qtalk' realto='chao1.zhang@qtalk' channelid='{"cn":"consult","d":"send","usrType":"usr"}' qchatid='4' isHiddenMsg='0' xmlns='jabber:client'><body msgType='1' maType='11' id='EAEA177450C94F1AD951FF49B8628841'>1</body><active xmlns='http://jabber.org/protocol/chatstates'/></message>

<!-- touch send auto reply -->
<message xmlns='jabber:client' from='shop_1@qtalk' to='d109f1bfdddc4a5fa95b08fdfb100605@qtalk' msec_times='1577444699839' realfrom='chao.zhang@qtalk' realto='d109f1bfdddc4a5fa95b08fdfb100605@qtalk' type='consult' channelid='{&quot;d&quot;:&quot;recv&quot;,&quot;usrType&quot;:&quot;usr&quot;,&quot;cn&quot;:&quot;consult&quot;}' qchatid='5' auto_reply='true' no_update_msg_log='true'><body id='qcadminade94f05d12a43698b4cc0092eab6271' msgType='1' maType='3'>您好,请问有什么可以帮您?</body><active/></message>

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.