Changeset 7984 for branches/gajim_0.11/src/common/connection.py
- Timestamp:
- 02/15/07 19:05:38 (22 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11/src/common/connection.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11/src/common/connection.py
r7940 r7984 638 638 msg = '' 639 639 keyID = gajim.config.get_per('accounts', self.name, 'keyid') 640 if keyID and USE_GPG and not msg:641 lowered_uf_status_msg = helpers.get_uf_show(show).lower()642 # do not show I'm invisible!643 if lowered_uf_status_msg == _('invisible').lower():644 lowered_uf_status_msg = _('offline').lower()645 msg = _("I'm %s") % lowered_uf_status_msg646 640 signed = '' 647 641 if not auto and not show == 'offline': … … 1058 1052 self.connection.send(p) 1059 1053 1060 # last date/time in history to avoid duplicate1054 # last date/time in history to avoid duplicate 1061 1055 if not self.last_history_line.has_key(room_jid): 1062 1056 # Not in memory, get it from DB … … 1086 1080 to = room_jid) 1087 1081 self.connection.send(iq) 1088 1089 def change_gc_nick(self, room_jid, nick):1090 if not self.connection:1091 return1092 p = common.xmpp.Presence(to = '%s/%s' % (room_jid, nick))1093 p = self.add_sha(p)1094 self.connection.send(p)1095 1082 1096 1083 def send_gc_status(self, nick, jid, show, status):
