Error at sending a message to many contacts
Bug description
I get an error when trying to send a message to many contacts (sending it to one contact works):
Traceback (most recent call last):
File "/home/mgol/gajim/src/dialogs.py", line 2719, in on_send_and_close_button_clicked
self.send_single_message()
File "/home/mgol/gajim/src/dialogs.py", line 2699, in send_single_message
form_node=form_node)
File "/home/mgol/gajim/src/common/connection.py", line 1242, in send_message
callback_args)
File "/home/mgol/gajim/src/common/connection.py", line 1330, in _on_continue_message
'request_receipt') and contact.supports(common.xmpp.NS_RECEIPTS):
AttributeError: 'NoneType' object has no attribute 'supports'
Steps to reproduce
Try to send a message to at least 2 contacts at once
Software versions
OS version: Ubuntu 9.10 amd64
GTK version: 2.18.4
PyGTK version: 2.16.0