Fix docstrings for XEP-0146 commands
This commit is contained in:
parent
ab3c53bf49
commit
956a420171
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue