rename publish_to_chat to receive_from_bridge
This commit is contained in:
parent
42228c3a44
commit
787e363bdf
|
@ -63,7 +63,7 @@ Don't forget to add an optional dependency to yl_matterbridge
|
|||
|
||||
Overwrite this function to receive something from the bridge
|
||||
```
|
||||
function yl_matterbridge.publish_to_chat(user_name, message_text)
|
||||
function yl_matterbridge.receive_from_bridge(user_name, message_text)
|
||||
core.chat_send_all("<" .. user_name .. "@irc> " .. message_text)
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue