Fix docstrings for XEP-0146 commands

This commit is contained in:
Alexander Krotov 2018-06-16 22:40:49 +03:00 committed by Philipp Hörist
parent ab3c53bf49
commit 956a420171

View file

@ -198,7 +198,7 @@ class LeaveGroupchatsCommand(AdHocCommand):
@staticmethod @staticmethod
def isVisibleFor(samejid): 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 return samejid
@ -285,7 +285,7 @@ class ForwardMessagesCommand(AdHocCommand):
@staticmethod @staticmethod
def isVisibleFor(samejid): 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 return samejid
@ -320,7 +320,7 @@ class FwdMsgThenDisconnectCommand(AdHocCommand):
@staticmethod @staticmethod
def isVisibleFor(samejid): 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 return samejid