#76: QuteCom sends too much PUBLISH
---------------------+------------------------------------------------------
Reporter: ibc | Owner: vadim
Type: defect | Status: new
Priority: major | Milestone: QuteCom 2.2-RC4
Component: phapi | Version: 2.2-RC3
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment(by Preeteesh):
Hmm,
Yes my mistake. So it should be sending one Publish only so better would
be to send one publish with The last user status & the mood of that.
Of course i see that is done but due to code on line 149 of this file
((*it).second->changeMyPresence(presenceState, String::null); ) -
http://trac.qutecom.org/browser/wengophone/src/model/presence/PresenceHandler.cpp
it again send the publish. The intial call on line number 136
(changeMyAlias(_userProfile.getAlias(), imAccount);) also changes the
presence & hence causes the publish to sent. This way Publish is sent
twice.
I believe there is no need to again send presence i.e we should comment
line number 149.
Let me know if this seems fine?
--
Ticket URL: <http://trac.qutecom.org/ticket/76#comment:19>
QuteCom <http://trac.qutecom.org>
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev