changeset 2494:7283062fce1a

Fix a stupid bug in jabber notification about user creation.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Sun, 22 Jul 2007 04:16:26 +0200
parents f3e3ffa68a7f
children b9e0a8a1f14c e3bb982b4011
files MoinMoin/events/jabbernotify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/jabbernotify.py	Sun Jul 22 04:16:05 2007 +0200
+++ b/MoinMoin/events/jabbernotify.py	Sun Jul 22 04:16:26 2007 +0200
@@ -146,7 +146,7 @@
         if usr.isSuperUser() and usr.jid and event_name in usr.jabber_subscribed_events:
             jids.append(usr.jid)
 
-    send_notification(event.request, jids, msg % (event.user.name, email), data['subject'])
+    send_notification(event.request, jids, data['body'], data['subject'])
 
 
 def page_change(type, request, page, subscribers, **kwargs):