diff src/test/helpers.py @ 512:862c0d6ab974

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
author Goffi <goffi@goffi.org>
date Wed, 17 Oct 2012 00:35:48 +0200
parents 23cbdf0a0777
children ca13633d3b6b
line wrap: on
line diff
--- a/src/test/helpers.py	Tue Oct 16 01:22:40 2012 +0200
+++ b/src/test/helpers.py	Wed Oct 17 00:35:48 2012 +0200
@@ -60,7 +60,7 @@
     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@'):