Mercurial > xib
comparison muc.py @ 203:2a81c480439a
renamed camelCased functions
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Thu, 25 Feb 2010 23:29:39 +0100 |
parents | 11717d14e22f |
children | fbe40b397f67 |
comparison
equal
deleted
inserted
replaced
202:2a1ee46f86af | 203:2a81c480439a |
---|---|
115 s = xmpp.protocol.Message(to=self.room_jid, typ='groupchat', body=message) | 115 s = xmpp.protocol.Message(to=self.room_jid, typ='groupchat', body=message) |
116 self._send(s) | 116 self._send(s) |
117 self.xmpp_c.lock.release() | 117 self.xmpp_c.lock.release() |
118 | 118 |
119 | 119 |
120 def sayTo(self, to, message): | 120 def say_to(self, to, message): |
121 """Send a private message""" | 121 """Send a private message""" |
122 self.xmpp_c.lock.acquire() | 122 self.xmpp_c.lock.acquire() |
123 s = xmpp.protocol.Message(to=self.room_jid+'/'+to, typ='chat', body=message) | 123 s = xmpp.protocol.Message(to=self.room_jid+'/'+to, typ='chat', body=message) |
124 self._send(s) | 124 self._send(s) |
125 self.xmpp_c.lock.release() | 125 self.xmpp_c.lock.release() |