core, bridge, quick_frontend: MUC private messages history management:
- history now store message type
- sqlite3 storage: fixed resource management in getHistory
- bridge: added message type in getHistory return value
- quick_chats: (ugly) hacks to manage private history filtering/nickname printing
This commit is contained in:
parent
d5fac19b9e
commit
fef2b1a620
1 changed files with 52 additions and 30 deletions
|
|
@ -60,7 +60,7 @@ class FakeMemory(object):
|
|||
def getProfileName(self, profile_key):
|
||||
return profile_key
|
||||
|
||||
def addToHistory(self, from_jid, to_jid, message, timestamp=None, profile=None):
|
||||
def addToHistory(self, from_jid, to_jid, message, _type='chat', timestamp=None, profile=None):
|
||||
pass
|
||||
|
||||
def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue