Skip to content
Snippets Groups Projects
Commit 69fc11d9 authored by nkour's avatar nkour
Browse files

optimize

parent cb32099d
No related branches found
No related tags found
No related merge requests found
......@@ -359,7 +359,7 @@ def ensure_unicode_string(s):
return s
def get_xmpp_show(show):
if show in ['online', 'offline']:
if show in ('online', 'offline'):
return None
return show
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment