changeset 0570ebb4efe5 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=0570ebb4efe5
description: Removed a change from the previous commit because I would not have done it. I need sleep.
diffstat:
src/common/logger.py | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (19 lines):
diff -r 73b5688fb47f -r 0570ebb4efe5 src/common/logger.py
--- a/src/common/logger.py Sun Jan 03 01:52:40 2010 +0100
+++ b/src/common/logger.py Sun Jan 03 01:57:44 2010 +0100
@@ -974,13 +974,8 @@
(account_jid_id, jid_id))
# Then we add all new groups information
for group in groups:
- try:
- self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
- (account_jid_id, jid_id, group))
- except IntegrityError:
- # Some servers (like jabberd) seems to put contact twice in the
- # roster. So we do nothing if it appears. (see #5206)
- pass
+ self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
+ (account_jid_id, jid_id, group))
if name is None:
name = ''
changeset 73b5688fb47f in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=73b5688fb47f
description: forgot to remove an useless line in the previous commit...
diffstat:
src/common/connection.py | 1 -
src/common/logger.py | 9 +++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r bbcdf53a324c -r 73b5688fb47f src/common/connection.py
--- a/src/common/connection.py Sun Jan 03 01:49:49 2010 +0100
+++ b/src/common/connection.py Sun Jan 03 01:52:40 2010 +0100
@@ -2016,7 +2016,6 @@
self.add_lang(p)
if not change_nick:
t = p.setTag(common.xmpp.NS_MUC + ' x')
- last_date = self.last_history_time[room_jid]
last_date = max(self.last_history_time[room_jid],
time.time() - gajim.config.get('muc_restore_timeout') * 60)
last_date = time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime(last_date))
diff -r bbcdf53a324c -r 73b5688fb47f src/common/logger.py
--- a/src/common/logger.py Sun Jan 03 01:49:49 2010 +0100
+++ b/src/common/logger.py Sun Jan 03 01:52:40 2010 +0100
@@ -974,8 +974,13 @@
(account_jid_id, jid_id))
# Then we add all new groups information
for group in groups:
- self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
- (account_jid_id, jid_id, group))
+ try:
+ self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
+ (account_jid_id, jid_id, group))
+ except IntegrityError:
+ # Some servers (like jabberd) seems to put contact twice in the
+ # roster. So we do nothing if it appears. (see #5206)
+ pass
if name is None:
name = ''