#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 ibc):
Replying to [comment:26 laurent]:
> You're mixing 2 things :
>
> It is not because basic == online that QuteCom show contact as Online
when it receive a mood, at this level it fix presence at
EnumPresenceState::PresenceStateUserDefined
> see
[http://trac.qutecom.org/browser/libs/sipwrapper/src/phapi/PhApiCallbacks.cpp]
PhApiCallbacks::onNotify
>
> At an upper level, ContactManager detect an activity, so it put the
presence to online ...
> see
[http://trac.qutecom.org/browser/wengophone/src/model/contactlist/ContactList.cpp]
ContactList::presenceStateChangedEventHandler
Let me show it then:
* I change my presence status to Don't Disturb so Qutecom sends the
following presentity:
{{{
<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf"
entity="sip:[email protected]">
<tuple id="azersdqre">
<status><basic>open</basic></status>
<note>do not disturb</note>
<contact priority="1">sip:[email protected]</contact>
</tuple>
</presence>
}}}
- Other Qutecom users see me as "Don't Disturb" with red icon (due to the
"custom"/wrong usage of Qutecom inspecting the <note> element).
- Then I change my mood so Qutecom sends this presentity:
{{{
<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf"
entity="sip:[email protected]">
<tuple id="azersdqre">
<status><basic>open</basic></status>
<note>new mood</note>
<contact priority="1">sip:[email protected]</contact>
</tuple>
</presence>
}}}
- Now others Qutecom users see me as online (green icon) with "new mood"
as label. But I'm not in "Don't Disturb" anymore (even if my Qutecom shows
"Don't Disturb" as my presence status).
But anyway, I propose to forget all these reports. Qutecom obviously makes
a wrong implementation for advanced presence status and mood. For sure the
way is #170 so let's focus there ;)
--
Ticket URL: <http://trac.qutecom.org/ticket/76#comment:29>
QuteCom <http://trac.qutecom.org>
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev