Commit a55a62a4 authored by nicfit's avatar nicfit

raise and return, right next to each other? Go with the newer revision of

returning DBUS_BOOLEAN(False)
parent 3a305866
......@@ -373,7 +373,6 @@ class SignalObject(dbus.service.Object):
if not specified status is changed for all accounts. '''
if status not in ('offline', 'online', 'chat',
'away', 'xa', 'dnd', 'invisible'):
raise InvalidArgument
return DBUS_BOOLEAN(False)
if account:
gobject.idle_add(gajim.interface.roster.send_status, account,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment