Mercurial > xib
comparison bridge.py @ 139:38eb220142a1
fixed minimal→*limited mode changing
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sat, 16 Jan 2010 22:59:42 +0100 |
parents | 9f39cead20cb |
children | e0eea72ea493 |
comparison
equal
deleted
inserted
replaced
138:f3a9c891f7c0 | 139:38eb220142a1 |
---|---|
221 else: | 221 else: |
222 # Unhandled mode changing | 222 # Unhandled mode changing |
223 unhandled = True | 223 unhandled = True |
224 | 224 |
225 elif new_mode[-7:] == 'limited': | 225 elif new_mode[-7:] == 'limited': |
226 | |
227 if old_mode == 'minimal': | |
228 self.createDuplicatesOn(['xmpp']) | |
226 | 229 |
227 i = 0 | 230 i = 0 |
228 for p in self.participants: | 231 for p in self.participants: |
229 if p.protocol == 'xmpp': | 232 if p.protocol == 'xmpp': |
230 i += 1 | 233 i += 1 |