Skip to content

Commit 1aeb6ef

Browse files
authored
Merge pull request #5 from naari3/fix-typo-example
fix a incorrectly calling function
2 parents 5fee20b + 50a108b commit 1aeb6ef

File tree

1 file changed

+1
-1
lines changed
  • examples/flask-kitchensink

1 file changed

+1
-1
lines changed

examples/flask-kitchensink/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def handle_text_message(event):
115115
elif isinstance(event.source, SourceRoom):
116116
line_bot_api.reply_message(
117117
event.reply_token, TextMessage(text='Leaving group'))
118-
line_bot_api.leave_group(event.source.room_id)
118+
line_bot_api.leave_room(event.source.room_id)
119119
else:
120120
line_bot_api.reply_message(
121121
event.reply_token,

0 commit comments

Comments
 (0)