Changeset 10355
- Timestamp:
- 08/30/08 04:50:10 (3 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
chat_control.py (modified) (1 diff)
-
common/connection_handlers.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/chat_control.py
r10354 r10355 1844 1844 ChatControlBase.print_conversation_line(self, msg, 'status', '', 1845 1845 tim) 1846 self._toggle_gpg() 1846 # turn on OpenPGP if this was in fact a XEP-0027 encrypted message 1847 if encrypted == 'xep27': 1848 self._toggle_gpg() 1847 1849 elif not encrypted and self.gpg_is_active: 1848 1850 msg = _('The following message was NOT encrypted') -
trunk/src/common/connection_handlers.py
r10354 r10355 1742 1742 1743 1743 if xep_200_encrypted: 1744 encrypted = True1744 encrypted = 'xep200' 1745 1745 1746 1746 try: … … 1782 1782 # \x00 chars are not allowed in C (so in GTK) 1783 1783 msgtxt = decmsg.replace('\x00', '') 1784 encrypted = True1784 encrypted = 'xep27' 1785 1785 if mtype == 'error': 1786 1786 self.dispatch_error_message(msg, msgtxt, session, frm, tim)
