Update of /cvsroot/emacs-jabber/emacs-jabber
In directory sc8-pr-cvs17:/tmp/cvs-serv24625
Modified Files:
jabber-history.el
Log Message:
Revision: ma...@fr...--2005/emacs-jabber--cvs-head--0--patch-366
Creator: Magnus Henoch <ma...@fr...>
Canonicalize JIDs in jabber-history-filename
Index: jabber-history.el
===================================================================
RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-history.el,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- jabber-history.el 8 May 2007 12:22:26 -0000 1.27
+++ jabber-history.el 5 Jun 2007 16:29:16 -0000 1.28
@@ -125,7 +125,9 @@
loggin strategy is used or the global history filename."
(if jabber-use-global-history
jabber-global-history-filename
- (concat jabber-history-dir "/" (jabber-jid-user contact))))
+ ;; jabber-jid-symbol is the best canonicalization we have.
+ (concat jabber-history-dir
+ "/" (symbol-name (jabber-jid-symbol contact)))))
(defun jabber-history-log-message (direction from to body timestamp)
"Log a message"
|