Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-12 14:22:06 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-09-12 14:22:06 (GMT)
commitb8d04713acbbb1cb922c6c401ffe5c8ec9dd3fc9 (patch)
treeafcadb98e9de8130a9d729871aacc328c4f0884d
parent420ac5d23687a7b830ca4e1a30174967e9bfd8d8 (diff)
De-restrict invitations, if Gabble supports it (fixes #3380 if Gabble supports invite-restricted flag, harmless otherwise)
-rw-r--r--NEWS3
-rw-r--r--src/activity.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7e2e2df..400acfc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+* #3380: de-restrict invitations so non-initiator can invite people to an
+ activity (only effective if you also have Gabble trial3a 20070912 snapshot)
+ (smcv)
* #3369: avoid Gabble invite-only activities disappearing from the
mesh view when we join them (smcv)
* #3370: fix error reporting in logs by working around dbus-python bug#12403
diff --git a/src/activity.py b/src/activity.py
index 4f8e61d..23c4356 100644
--- a/src/activity.py
+++ b/src/activity.py
@@ -756,6 +756,7 @@ class Activity(ExportedGObject):
props = {
'anonymous': False, # otherwise buddy resolution breaks
'invite-only': False, # anyone who knows about the channel can join
+ 'invite-restricted': False, # so non-owners can invite others
'persistent': False, # vanish when there are no members
'private': True, # don't appear in server room lists
}