Commit c3d31640 authored by Yuki's avatar Yuki
Browse files

Fix undeclared variable in _paste_event_confirmed

parent bfa19585
Pipeline #3503 canceled with stages
......@@ -599,6 +599,9 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
def _paste_event_confirmed(self, image, textview):
with TemporaryDirectory() as dir_:
# get file transfer preference
ft_pref = app.config.get_per('accounts', self.account,
path = os.path.join(dir_, '0.png')
image.savev(path, 'png', [], [])
con = app.connections[self.account]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment