We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8739662 commit 5745a3eCopy full SHA for 5745a3e
plugins/replace.py
@@ -57,7 +57,7 @@ def replace_random_user(message, tab):
57
return random.choice(tab.users).nick
58
elif isinstance(tab, tabs.PrivateTab):
59
return random.choice([JID(tab.name).resource, tab.own_nick])
60
- else isinstance(tab, tabs.ConversationTab):
+ else:
61
# that doesn’t make any sense. By why use this pattern in a
62
# ConversationTab anyway?
63
return str(tab.name)
0 commit comments