introducing gajim.get_number_of_accounts()

This commit is contained in:
Nikos Kouremenos 2005-08-03 13:46:48 +00:00
parent 97b06596a0
commit 053cbdcaeb
1 changed files with 3 additions and 0 deletions

View File

@ -123,3 +123,6 @@ def get_resource_from_jid(jid):
[15:32:54] <asterix> they can have resource if we know the real jid
[15:33:07] <asterix> and that resource is in contact.resource
'''
def get_number_of_accounts():
return len(connections.keys())