[Bugs] #934 HIGH: If the initiator of a shared activity leaves, she cannot see the session in the Neighborhood

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 14 05:19:59 EDT 2009


#934: If the initiator of a shared activity leaves, she cannot see the session in
the Neighborhood
---------------------------------------+------------------------------------
    Reporter:  bemasc                  |          Owner:  morgs 
        Type:  defect                  |         Status:  new   
    Priority:  High                    |      Milestone:  0.86  
   Component:  sugar-presence-service  |        Version:  0.82.x
    Severity:  Major                   |     Resolution:        
    Keywords:                          |   Distribution:  OLPC  
Status_field:  Unconfirmed             |  
---------------------------------------+------------------------------------
Changes (by tomeu):

  * owner:  tomeu => morgs
  * priority:  Unspecified by Maintainer => High
  * component:  sugar => sugar-presence-service
  * severity:  Unspecified => Major
  * milestone:  Unspecified by Release Team => 0.86


Comment:

 This bug is still present, this patch seems to fix it but I'm not sure how
 correct it is. Help most appreciated.

 {{{
 diff --git a/src/activity.py b/src/activity.py
 index 12f3ac2..29ba1a5 100644
 --- a/src/activity.py
 +++ b/src/activity.py
 @@ -1120,6 +1120,8 @@ class Activity(ExportedGObject):
              self._buddy_to_handle[buddy] = handle
          self._add_buddies(added_buddies.itervalues())

 +        self._claimed_buddies |= set(added_buddies.itervalues())
 +
          # we treat all pending members as if they weren't there
          removed = set(removed)
          removed |= set(local_pending)
 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/934#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list