BugFix: Fix twitter DM view

- Fix twitter DMs gettings getting appended to tweet conversation

Fixes: #939
This commit is contained in:
Sojan 2020-06-10 00:23:34 +05:30
parent e783c3af5d
commit bfe10618fb
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ class Twitter::DirectMessageParserService < Twitter::WebhooksBaseService
end
def set_conversation
@conversation = @contact_inbox.conversations.first
@conversation = @contact_inbox.conversations.where("additional_attributes ->> 'type' = 'direct_message'").first
return if @conversation
@conversation = ::Conversation.create!(conversation_params)

View file

@ -1,5 +1,5 @@
shared: &shared
version: '1.4.0'
version: '1.5.2'
development:
<<: *shared