Giter Site home page Giter Site logo

cngtalkbot's Introduction

中国Python社区中最长情的贡献者, 从04年共同创建 CPyUG(中国Python用户组)以来,长年为 Pythonic 在中国的推广/实践进行各种尝试, 连续四届主持PyCon中国大会筹办,是大家公认的 "大妈"(Zoom.Quiet);

当前转战自媒体, 分享有趣有料有种的事儿:

大妈的多重宇宙 youtube.com/@Chaos42DAMA

site community works
root GDG 大妈的多重宇宙 - YouTube
blog 锈<周刊> China 蟒营®
weekly 自怼圈 编程思维
ScrapBooks 蟒中国 OBP
... ... FM电台
... ... ...

Buy me a coffee

联系/反馈邮箱:

askdama[AT]googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用订阅, 不用翻越...)

Anurag's GitHub stats

Most Used Languages

NN 5316

     _~-~^~_
 \/ /  ◵ ?  \ ()
   '_   △   _'
   | '--.--' )

...act by ferris-actor v0.2.4 (built on 23.0303.201916)
.
..
...
是也乎,( ̄▽ ̄)
...
..
.



cngtalkbot's People

Watchers

 avatar

cngtalkbot's Issues

含大写字符的gmail帐号,在gtalkbot中状态总是非online

What steps will reproduce the problem?
1. 注册一个含大写的gmail帐号
2. 加入一个使用 cngtalkbot 版本的群中
3. 
会发现无法接收任何广播的消息,输入/names,会发现自己的��
�态是offline

fix:
经过追踪,发现问题出现在jabber.py里面

jabber.py 里面的 Client 类,dispatch 函数,在 
elif root_node.name == 'presence': 
这个选择,pres_obj.getFrom() 获得的是大写的node,而在 
elif root_node.name == 'iq': 
这个选择,jid = item.getAttr('jid') 这里获得的 jid 是小写的。
因此在Roster._setOnline 那里无法设置online属性。现在将 jid = 
unicode(jid)
改成 jid = unicode(jid).lower() 就好了

已经提交到svn中,版本rev5

Original issue reported on code.google.com by [email protected] on 23 Aug 2007 at 3:55

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.