Updated paste.py
This commit is contained in:
5
paste.py
5
paste.py
@@ -6,7 +6,10 @@ def _cmd_paste():
|
|||||||
root = tk.Tk(baseName="")
|
root = tk.Tk(baseName="")
|
||||||
root.withdraw()
|
root.withdraw()
|
||||||
result = root.clipboard_get()
|
result = root.clipboard_get()
|
||||||
prof.cons_show(u'\u000A' + result)
|
recipient = prof.get_current_recipient()
|
||||||
|
room = prof.get_current_muc()
|
||||||
|
if recipient or room:
|
||||||
|
prof.send_line(u'\u000A' + result)
|
||||||
|
|
||||||
def prof_init(version, status):
|
def prof_init(version, status):
|
||||||
synopsis = [
|
synopsis = [
|
||||||
|
|||||||
Reference in New Issue
Block a user