From: Magnus H. <leg...@us...> - 2014-07-10 09:46:30
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "emacs-jabber". The branch, master has been updated via 54907e7b118be0a70d392c2442a3829d405a43e1 (commit) from 9f41bb1ed996bd77f3594e85ef05584969710b94 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 54907e7b118be0a70d392c2442a3829d405a43e1 Author: Adam Sjøgren <as...@ko...> Date: Mon Jul 7 21:55:55 2014 +0200 Add type="chat" to chatstate notifications. This improves interoperability with the client Profanity. Comparing what Pidgin sends to what jabber.el did, the difference was that Pidgin includes an id- and a type attribute. Adding just the 'type' was enough to make Profanity recognize the notifications sent by jabber.el. diff --git a/jabber-chatstates.el b/jabber-chatstates.el index 0cdc3d1..9cd561e 100644 --- a/jabber-chatstates.el +++ b/jabber-chatstates.el @@ -106,7 +106,8 @@ It can be sent and cancelled several times.") (jabber-send-sexp jabber-buffer-connection `(message - ((to . ,jabber-chatting-with)) + ((to . ,jabber-chatting-with) + (type . "chat")) (paused ((xmlns . ,jabber-chatstates-xmlns))))))) (defun jabber-chatstates-after-change () @@ -119,7 +120,8 @@ It can be sent and cancelled several times.") (jabber-send-sexp jabber-buffer-connection `(message - ((to . ,jabber-chatting-with)) + ((to . ,jabber-chatting-with) + (type . "chat")) (,state ((xmlns . ,jabber-chatstates-xmlns))))) (when (setq jabber-chatstates-composing-sent composing-now) (jabber-chatstates-kick-timer))))) ----------------------------------------------------------------------- Summary of changes: jabber-chatstates.el | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- emacs-jabber |