diff options
author | mathieui <mathieui@mathieui.net> | 2021-07-02 20:59:25 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-07-02 20:59:25 +0200 |
commit | 2b3cde233fec354bf1b1894e926d67ec9ce371b8 (patch) | |
tree | 89b28567bd65a4d71715ea29096855b4b8e5ea80 /poezio/core/completions.py | |
parent | 26505c32df055bfe41c3a852fff1b1eaf5dafda7 (diff) | |
download | poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.tar.gz poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.tar.bz2 poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.tar.xz poezio-2b3cde233fec354bf1b1894e926d67ec9ce371b8.zip |
fix: improve typing
preliminary to more typing added to slixmpp, fix things in advance
Diffstat (limited to 'poezio/core/completions.py')
-rw-r--r-- | poezio/core/completions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/completions.py b/poezio/core/completions.py index af71de66..084910a2 100644 --- a/poezio/core/completions.py +++ b/poezio/core/completions.py @@ -466,11 +466,11 @@ class CompletionCore: tabs.StaticConversationTab, tabs.DynamicConversationTab, ) - tabjid: List[JID] = [] + tabjid: List[str] = [] if isinstance(current_tab, chattabs): tabjid = [current_tab.jid.bare] - jids = roster.jids() + jids = [str(i) for i in roster.jids()] jids += tabjid return Completion( the_input.new_completion, jids, 1, '', quotify=False) |