summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-08 00:04:48 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-08 00:04:48 +0000
commit007466f6aa080539484870359fbd0a4590020099 (patch)
treeca8cdd17661d1abefc60cbb42db1bcf62c19be36
parentf1226c1bc9284af783bebe9bba41f54e4d59a7a9 (diff)
downloadpoezio-007466f6aa080539484870359fbd0a4590020099.tar.gz
poezio-007466f6aa080539484870359fbd0a4590020099.tar.bz2
poezio-007466f6aa080539484870359fbd0a4590020099.tar.xz
poezio-007466f6aa080539484870359fbd0a4590020099.zip
fix last talked completion order. fixed #1805
-rw-r--r--src/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index a5170f94..f4a664d5 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -492,7 +492,7 @@ class Gui(object):
# else:
# return -1
compare_users = lambda x: x.last_talked
- self.window.input.auto_completion([user.nick for user in sorted(self.current_room().users, key=compare_users)])
+ self.window.input.auto_completion([user.nick for user in sorted(self.current_room().users, key=compare_users, reverse=True)])
def last_words_completion(self):
"""