Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/x/m/xmpp-tdg-examples-HEAD/code/CheshiR/SimpleBackend.py   xmpp-tdg-examples(Download)
  def addMessageFromUser(self, text, user) :
    if len(text) > 0 and self.getLastMessage(user) != text :
      message = Message(datetime.datetime.today(), user, text)
      self.messages.setdefault(user,[]).append(message)
      self.notifyMessage(message)