Make the message sending non blocking.
This commit is contained in:
parent
d83c25e709
commit
484d91b166
4 changed files with 98 additions and 43 deletions
2
main.py
2
main.py
|
|
@ -32,7 +32,7 @@ from matrix import colors
|
|||
from matrix.utf import utf8_decode
|
||||
from matrix.http import HttpResponse
|
||||
from matrix.api import MatrixMessage, MessageType, matrix_login
|
||||
from matrix.socket import disconnect, send_or_queue, send, connect
|
||||
from matrix.socket import disconnect, send_or_queue, send, connect, send_cb
|
||||
from matrix.messages import handle_http_response
|
||||
|
||||
# Weechat searches for the registered callbacks in the scope of the main script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue