Changeset 2336
- Timestamp:
- 07/15/05 22:04:02 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/common/connection.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/connection.py
r2318 r2336 820 820 p.setTag(common.xmpp.NS_SIGNED + ' x').setData(signed) 821 821 822 self.connection.send(p) 822 if self.connection: 823 self.connection.send(p) 823 824 self.dispatch('STATUS', show) 824 825 #ask our VCard … … 836 837 if msg: 837 838 p.setStatus(msg) 838 self.connection.send(p) 839 if self.connection: 840 self.connection.send(p) 839 841 try: 840 842 self.connection.disconnect() … … 854 856 if signed: 855 857 p.setTag(common.xmpp.NS_SIGNED + ' x').setData(signed) 856 self.connection.send(p) 858 if connection: 859 self.connection.send(p) 857 860 self.dispatch('STATUS', show) 858 861
