missing argument in create_gc_contact

This commit is contained in:
Yann Leboulanger 2006-01-03 16:32:58 +00:00
parent 9cf05efb74
commit 87171a3460
1 changed files with 3 additions and 2 deletions

View File

@ -229,8 +229,9 @@ class Contacts:
sub = 'none')
def create_gc_contact(self, room_jid='', name='', show='', status='',
role='', affiliation='', jid=''):
return GC_Contact(room_jid, name, show, status, role, affiliation, jid)
role='', affiliation='', jid='', resource=''):
return GC_Contact(room_jid, name, show, status, role, affiliation, jid,
resource)
def add_gc_contact(self, account, gc_contact):
# No such account before ?