changeset af16b3f443a8 in /home/hg/repos/gajim

branches: gajim_0.16
details:http://hg.gajim.org/gajim?cmd=changeset;node=af16b3f443a8
description: don't cycle through blobk nicknames when autocompletting nicks. 
Fixes #7398

diffstat:

 src/groupchat_control.py |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 8c8784f1585f -r af16b3f443a8 src/groupchat_control.py
--- a/src/groupchat_control.py  Mon Jul 29 21:11:40 2013 +0200
+++ b/src/groupchat_control.py  Mon Jul 29 22:05:39 2013 +0200
@@ -2297,7 +2297,9 @@
 
                 list_nick.remove(self.nick) # Skip self
                 for nick in list_nick:
-                    if nick.lower().startswith(begin.lower()):
+                    fjid = self.room_jid + '/' + nick
+                    if nick.lower().startswith(begin.lower()) and not \
+                    helpers.jid_is_blocked(self.account, fjid):
                         # the word is the begining of a nick
                         self.nick_hits.append(nick)
             if len(self.nick_hits):
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to