1 """
2 xmpp message support
3
4 @copyright: (c) 2011 hackmeeting U{http://sindominio.net/hackmeeting}
5 @author: Ruben Pollan
6 @organization: hackmeeting U{http://sindominio.net/hackmeeting}
7 @contact: meskio@sindominio.net
8 @license:
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the Do What The Fuck You Want To
11 Public License, Version 2, as published by Sam Hocevar. See
12 U{http://sam.zoy.org/projects/COPYING.WTFPL} for more details.
13 """
14
15 from emma.interface import message
16
17
19 """
20 xmpp message
21 """
23 body = event['body']
24 to = str(event['to'])
25 frm = str(event['from'])
26 tpe = event['type']
27 message.Message.__init__(self, body, to, frm, tpe)
28