mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-23 13:51:15 -05:00
pantalaimon: Formatting fixes.
This commit is contained in:
parent
69d14f3c68
commit
22fcbff44b
@ -132,11 +132,11 @@ class PanCompleter(Completer):
|
|||||||
return compl_words
|
return compl_words
|
||||||
|
|
||||||
def complete_pan_users(self, last_word):
|
def complete_pan_users(self, last_word):
|
||||||
users = self.ctl.ListUsers()
|
users = self.ctl.ListUsers()
|
||||||
compl_words = self.filter_words([i[0] for i in users], last_word)
|
compl_words = self.filter_words([i[0] for i in users], last_word)
|
||||||
|
|
||||||
for compl_word in compl_words:
|
for compl_word in compl_words:
|
||||||
yield Completion(compl_word, -len(last_word))
|
yield Completion(compl_word, -len(last_word))
|
||||||
|
|
||||||
def complete_verification(self, command, last_word, words):
|
def complete_verification(self, command, last_word, words):
|
||||||
if len(words) == 2:
|
if len(words) == 2:
|
||||||
|
@ -16,7 +16,6 @@ from pantalaimon.thread_messages import (
|
|||||||
DeviceConfirmSasMessage,
|
DeviceConfirmSasMessage,
|
||||||
ImportKeysMessage,
|
ImportKeysMessage,
|
||||||
ExportKeysMessage,
|
ExportKeysMessage,
|
||||||
StartSasSignal,
|
|
||||||
ShowSasSignal,
|
ShowSasSignal,
|
||||||
InviteSasSignal,
|
InviteSasSignal,
|
||||||
SasDoneSignal,
|
SasDoneSignal,
|
||||||
|
Loading…
Reference in New Issue
Block a user