Mercurial > libervia-backend
comparison src/plugins/plugin_sec_otr.py @ 1246:8b891f9be183
core, plugins: improve a bit some log messages
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 18 Oct 2014 16:28:37 +0200 |
parents | eb1144a22e20 |
children | 3be9d8ab2e15 |
comparison
equal
deleted
inserted
replaced
1245:84d06701f5c4 | 1246:8b891f9be183 |
---|---|
186 return context | 186 return context |
187 | 187 |
188 def getContextForUser(self, other): | 188 def getContextForUser(self, other): |
189 log.debug(u"getContextForUser [%s]" % other) | 189 log.debug(u"getContextForUser [%s]" % other) |
190 if not other.resource: | 190 if not other.resource: |
191 log.warning("getContextForUser called with a bare jid") | 191 log.warning("getContextForUser called with a bare jid: %s" % other.full()) |
192 return self.startContext(other) | 192 return self.startContext(other) |
193 | 193 |
194 | 194 |
195 class OTR(object): | 195 class OTR(object): |
196 | 196 |