Add some debug messages
This commit is contained in:
parent
a0397b29df
commit
d61c478168
@ -1,4 +1,4 @@
|
||||
AC_INIT([Sugar],[0.14],[],[sugar])
|
||||
AC_INIT([Sugar],[0.15],[],[sugar])
|
||||
|
||||
AC_PREREQ([2.59])
|
||||
|
||||
|
@ -244,6 +244,8 @@ class Chat(gtk.VBox):
|
||||
return
|
||||
if self._stream_writer:
|
||||
self._stream_writer.write(self.serialize_message(text))
|
||||
else:
|
||||
print 'Cannot send message, there is no stream writer'
|
||||
owner = PresenceService.get_instance().get_owner()
|
||||
if owner:
|
||||
self._insert_rich_message(owner, text)
|
||||
|
@ -16,4 +16,5 @@ class GroupChat(Chat):
|
||||
self._stream_writer = self._group_stream.new_writer()
|
||||
|
||||
def _group_recv_message(self, address, msg):
|
||||
logging.debug('Group chat received from %s message %s' % (address, msg))
|
||||
self.recv_message(msg)
|
||||
|
Loading…
Reference in New Issue
Block a user