Author: jim++ Date: 2007-03-31 14:21:53 +0200 (Sat, 31 Mar 2007) New Revision: 8057
Modified: trunk/src/chat_control.py Log: Stop asking for xep85 (chat notifs) many times, xep says ask only one. Can break notifs with gajim 0.10.1 or less. Fixes #2711.
Modified: trunk/src/chat_control.py =================================================================== --- trunk/src/chat_control.py 2007-03-31 12:12:12 UTC (rev 8056) +++ trunk/src/chat_control.py 2007-03-31 12:21:53 UTC (rev 8057) @@ -1153,13 +1153,9 @@ # because we want it sent with REAL message # (not standlone) eg. one that has body - #FIXME: - # Enable 3 next lines after 0.11 release. - # Having this disabled violate xep85 5.1.2 but then we don't break - # notifications between 0.10.1 and 0.11 See #2637 - # if contact.our_chatstate: - # # We already ask for xep 85, don't ask it twice - # composing_jep = 'asked_once' + if contact.our_chatstate: + # We already asked for xep 85, don't ask it twice + composing_jep = 'asked_once'
chatstate_to_send = 'active' contact.our_chatstate = 'ask' # pseudo state