Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Add support for Facebook location quick replies #568

Merged
merged 3 commits into from
Jan 4, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Facebook.js
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ function Facebookbot(configuration) {

facebook_message.message.quick_replies = message.quick_replies.map(function(item) {
var quick_reply = {}
if (item.content_type === 'text') {
if (item.content_type === 'text' || !item.content_type) {
quick_reply = {
content_type: 'text',
title: titleLimit(item.title),