Changeset 9094

Show
Ignore:
Timestamp:
12/03/07 22:29:40 (9 months ago)
Author:
asterix
Message:

\x00 chars are not allowed in C (end of string) so in GTK. But we can get from gpg encrypted messages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.3-bugfixes/src/common/connection_handlers.py

    r9028 r9094  
    14801480                        if keyID: 
    14811481                                decmsg = self.gpg.decrypt(encmsg, keyID) 
     1482                                # \x00 chars are not allowed in C (so in GTK) 
     1483                                decmsg = decmsg.replace('\x00', '') 
    14821484                if decmsg: 
    14831485                        msgtxt = decmsg