changeset d6ce5aef6431 in /home/hg/repos/gajim
branches: gtk3
details:http://hg.gajim.org/gajim?cmd=changeset;node=d6ce5aef6431
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 25782830bcc5 -r d6ce5aef6431 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
@@ -2306,7 +2306,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