Fix hangout.send_message requiring data key (#17393)

This commit is contained in:
Tommy Jonsson authored and Paulus Schoutsen committed 2018-10-15 15:30:20 +02:00
1 parent 220054a6c3
commit f92b392a24
1 file changed
+1 -1
@@ -304,7 +304,7 @@ class HangoutsBot:
"""Handle the send_message service."""
await self._async_send_message(service.data[ATTR_MESSAGE],
service.data[ATTR_TARGET],
service.data[ATTR_DATA])
service.data.get(ATTR_DATA, {}))
async def async_handle_update_users_and_conversations(self, _=None):
"""Handle the update_users_and_conversations service."""