changeset e5d88e75800c in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=e5d88e75800c
description: Fixes #6906 again
diffstat:
src/dialogs.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 07234ad76f53 -r e5d88e75800c src/dialogs.py
--- a/src/dialogs.py Mon Sep 26 20:47:33 2011 +0300
+++ b/src/dialogs.py Tue Sep 27 16:13:12 2011 +0300
@@ -2481,7 +2481,8 @@
_('The group chat Jabber ID has not allowed characters.'))
return
- if gajim.contacts.get_contact(self.account, room_jid):
+ if gajim.contacts.get_contact(self.account, room_jid) and \
+ not gajim.contacts.get_contact(account, room_jid).is_groupchat():
ErrorDialog(_('This is not a group chat'),
_('%s is not the name of a group chat.') % room_jid)
return
changeset 2f739aad4a4e in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=2f739aad4a4e
description: sh autogen.sh don't work in ubuntu.
diffstat:
README.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 2f3b29d5634b -r 2f739aad4a4e README.html
--- a/README.html Thu Sep 22 11:43:51 2011 +0200
+++ b/README.html Thu Sep 22 19:26:25 2011 +0300
@@ -72,7 +72,7 @@
</ul>
<p>steps to compile gajim:</p>
<pre>
- $ sh autogen.sh
+ $ ./autogen.sh
$ ./configure
$ make
</pre>
@@ -95,7 +95,7 @@
<h2>Miscellaneous</h2>
<h3>XML & Debugging</h3>
-<p>If you want to see the xml stanzas and/or help us debugging
+<p>If you want to see the xml stanzas and/or help us debugging
you're advised to enable verbose via advanced configuration window.
If you don't want to make this permanent, execute gajim with --verbose
everytime you want to have verbose output.</p>
changeset 1b7961d360c3 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=1b7961d360c3
description: don't loose in logs MUC messages arriving in the same second. Fixes #6860
diffstat:
src/common/logger.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 904c620b38d7 -r 1b7961d360c3 src/common/logger.py
--- a/src/common/logger.py Wed Sep 21 21:53:29 2011 +0200
+++ b/src/common/logger.py Thu Sep 22 11:25:02 2011 +0200
@@ -1106,9 +1106,10 @@
self.write(type_, with_, message=msg, tim=tim)
def _nec_gc_message_received(self, obj):
- tim_int = int(float(time.mktime(obj.timestamp)))
+ tim_f = float(time.mktime(obj.timestamp))
+ tim_int = int(tim_f)
if gajim.config.should_log(obj.conn.name, obj.jid) and not \
- tim_int <= obj.conn.last_history_time[obj.jid] and obj.msgtxt and \
+ tim_int < obj.conn.last_history_time[obj.jid] and obj.msgtxt and \
obj.nick:
# if not obj.nick, it means message comes from room itself
# usually it hold description and can be send at each connection
@@ -1118,7 +1119,7 @@
# store in memory time of last message logged.
# this will also be saved in rooms_last_message_time table
# when we quit this muc
- obj.conn.last_history_time[obj.jid] = time.mktime(obj.timestamp)
+ obj.conn.last_history_time[obj.jid] = tim_f
except exceptions.PysqliteOperationalError, e:
obj.conn.dispatch('DB_ERROR', (_('Disk Write Error'), str(e)))