diff --git a/src/Plugins/BotSharp.Plugin.Twilio/OutboundPhoneCallHandler/Functions/OutboundPhoneCallFn.cs b/src/Plugins/BotSharp.Plugin.Twilio/OutboundPhoneCallHandler/Functions/OutboundPhoneCallFn.cs index 02f000c2..3c5532bd 100644 --- a/src/Plugins/BotSharp.Plugin.Twilio/OutboundPhoneCallHandler/Functions/OutboundPhoneCallFn.cs +++ b/src/Plugins/BotSharp.Plugin.Twilio/OutboundPhoneCallHandler/Functions/OutboundPhoneCallFn.cs @@ -201,9 +201,9 @@ public class OutboundPhoneCallFn : IFunctionCallback var mappedCurConvStates = MapStates(included, messageId, utcNow); var mappedSubConvStates = MapStates(subConvStates, messageId, utcNow); - var totalStates = mappedCurConvStates.Concat(mappedSubConvStates).ToList(); + var allStates = mappedCurConvStates.Concat(mappedSubConvStates).ToList(); - db.UpdateConversationStates(newConversationId, totalStates); + db.UpdateConversationStates(newConversationId, allStates); } private IEnumerable MapStates(IEnumerable states, string messageId, DateTime updateTime)