Don't add deleted users to tab completion
Fixes
@@ -993,7 +993,7 @@ def nick_completion_cb(data, completion_item, current_buffer, completion):
for member in current_channel.members:
user = current_channel.team.users.get(member)
- if user:
+ if user and not user.deleted:
w.hook_completion_list_add(completion, "@" + user.name, 1, w.WEECHAT_LIST_POS_SORT)
return w.WEECHAT_RC_OK
