示例#1
0
 def _isTextValid(self, text):
     _, error = validateContactNote(text)
     return error is None
 def _isTextValid(self, text):
     _, error = validateContactNote(text)
     return error is None
示例#3
0
def _validateNoteText(note):
    return xmpp_string_utils.validateContactNote(note)[1]
示例#4
0
def _validateNoteText(note):
    return xmpp_string_utils.validateContactNote(note)[1]