Rename subject -> topic_name in internal_send_message.

This commit is contained in:
Steve Howell
2017-10-27 05:36:15 -07:00
committed by Tim Abbott
parent 973ee97612
commit fbe5f93141
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ class EmbeddedBotHandler(object):
recipients = message['to'] if message['type'] == 'stream' else ','.join(message['to'])
internal_send_message(realm=self.user_profile.realm, sender_email=self.user_profile.email,
recipient_type_name=message['type'], recipients=recipients,
subject=message.get('subject', None), content=message['content'])
topic_name=message.get('subject', None), content=message['content'])
else:
self._rate_limit.show_error_and_exit()