Commit 956a4201 authored by Alexander Krotov's avatar Alexander Krotov Committed by Philipp Hörist

Fix docstrings for XEP-0146 commands

parent ab3c53bf
......@@ -198,7 +198,7 @@ class LeaveGroupchatsCommand(AdHocCommand):
@staticmethod
def isVisibleFor(samejid):
"""
Change status is visible only if the entity has the same bare jid
Leave groupchats is visible only if the entity has the same bare jid
"""
return samejid
......@@ -285,7 +285,7 @@ class ForwardMessagesCommand(AdHocCommand):
@staticmethod
def isVisibleFor(samejid):
"""
Change status is visible only if the entity has the same bare jid
Forward messages is visible only if the entity has the same bare jid
"""
return samejid
......@@ -320,7 +320,7 @@ class FwdMsgThenDisconnectCommand(AdHocCommand):
@staticmethod
def isVisibleFor(samejid):
"""
Change status is visible only if the entity has the same bare jid
Forward unread messages then disconnect is visible only if the entity has the same bare jid
"""
return samejid
......
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