- Timestamp:
- 05/23/05 20:16:51 (4 years ago)
- Files:
-
- 1 modified
-
trunk/src/common/connection.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/connection.py
r1596 r1612 178 178 """Called when we recieve a message""" 179 179 msgtxt = msg.getBody() 180 if not msgtxt: # empty message181 return182 180 mtype = msg.getType() 183 181 tim = msg.getTimestamp() … … 208 206 self.dispatch('GC_SUBJECT', (str(msg.getFrom()), subject)) 209 207 else: 208 if not msgtxt: # empty message 209 return 210 210 self.dispatch('GC_MSG', (str(msg.getFrom()), msgtxt, tim)) 211 211 gajim.logger.write('gc', msgtxt, str(msg.getFrom()), tim = tim) 212 212 else: 213 if not msgtxt: # empty message 214 return 213 215 gajim.logger.write('incoming', msgtxt, str(msg.getFrom()), tim = tim) 214 216 self.dispatch('MSG', (str(msg.getFrom()), msgtxt, tim))
