Make the room_id part of the kwargs in the MatrixMessage class.
This commit is contained in:
parent
1a804a4dc3
commit
4c9069a8b1
2 changed files with 18 additions and 11 deletions
3
main.py
3
main.py
|
|
@ -416,8 +416,7 @@ def room_input_cb(server_name, buffer, input_data):
|
|||
}
|
||||
|
||||
message = MatrixMessage(server, OPTIONS, MessageType.SEND, room_id=room_id,
|
||||
formatted_message=formatted_data,
|
||||
extra_data=extra_data)
|
||||
formatted_message=formatted_data)
|
||||
|
||||
server.send_or_queue(message)
|
||||
return W.WEECHAT_RC_OK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue