paste plugin, allow pasting to all window types

This commit is contained in:
James Booth
2016-03-26 17:10:23 +00:00
parent f4aa454397
commit d9e5f1f21d

View File

@@ -10,10 +10,7 @@ def _cmd_paste():
root = tk.Tk(baseName="")
root.withdraw()
result = root.clipboard_get()
recipient = prof.get_current_recipient()
room = prof.get_current_muc()
if recipient or room:
prof.send_line(u'\u000A' + result)
prof.send_line(u'\u000A' + result)
def prof_init(version, status):
synopsis = [