Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
poezio
poezio
Commits
bec71fe3
Verified
Commit
bec71fe3
authored
Sep 17, 2014
by
mathieui
Browse files
Fix
#2581
(fix /untell completion)
parent
d95ec953
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/tell.py
View file @
bec71fe3
...
...
@@ -61,7 +61,7 @@ class Plugin(BasePlugin):
if
not
nick
in
self
.
tabs
[
tab
]:
self
.
tabs
[
tab
][
nick
]
=
[]
self
.
tabs
[
tab
][
nick
].
append
(
msg
)
self
.
api
.
information
(
'
Will tell %s
'
%
nick
,
'Info'
)
self
.
api
.
information
(
'
Message for %s queued
'
%
nick
,
'Info'
)
def
command_untell
(
self
,
args
):
"""/untell <nick>"""
...
...
@@ -72,10 +72,11 @@ class Plugin(BasePlugin):
if
not
nick
in
self
.
tabs
[
tab
]:
return
del
self
.
tabs
[
tab
][
nick
]
self
.
api
.
information
(
'Messages for %s unqueued'
%
nick
,
'Info'
)
def
completion_untell
(
self
,
the_input
):
tab
=
self
.
api
.
current_tab
()
if
not
tab
in
self
.
tabs
:
return
the_input
.
auto_completion
([],
''
)
return
the_input
.
auto_completion
(
list
(
self
.
tabs
[
tab
]),
''
)
return
the_input
.
auto_completion
(
list
(
self
.
tabs
[
tab
]),
''
,
quotify
=
False
)
Link Mauve
@linkmauve
mentioned in issue
#2580 (closed)
·
Aug 21, 2018
mentioned in issue
#2580 (closed)
mentioned in issue #2580
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment