# HG changeset patch # User souliane # Date 1403892331 -7200 # Node ID dace0ede919c70dae21278cd542454e1d26f684b # Parent 77751f5b22420c47745dd3dcb3788be43f768f90 memory (memory): delete profile session on profile deletion diff -r 77751f5b2242 -r dace0ede919c src/memory/memory.py --- a/src/memory/memory.py Thu Jun 26 14:59:02 2014 +0200 +++ b/src/memory/memory.py Fri Jun 27 20:05:31 2014 +0200 @@ -331,6 +331,7 @@ To be used for direct calls only (not through the bridge). @return: a Deferred instance """ + self.auth_sessions.profileDelUnique(name) return self.params.asyncDeleteProfile(name, force) def addToHistory(self, from_jid, to_jid, message, type_='chat', extra=None, timestamp=None, profile=C.PROF_KEY_NONE):