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
1 changed files with 3 additions and 3 deletions

View File

@ -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