BugFix: Fix twitter DM view
- Fix twitter DMs gettings getting appended to tweet conversation Fixes: #939
This commit is contained in:
parent
e783c3af5d
commit
bfe10618fb
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class Twitter::DirectMessageParserService < Twitter::WebhooksBaseService
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_conversation
|
def set_conversation
|
||||||
@conversation = @contact_inbox.conversations.first
|
@conversation = @contact_inbox.conversations.where("additional_attributes ->> 'type' = 'direct_message'").first
|
||||||
return if @conversation
|
return if @conversation
|
||||||
|
|
||||||
@conversation = ::Conversation.create!(conversation_params)
|
@conversation = ::Conversation.create!(conversation_params)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
shared: &shared
|
shared: &shared
|
||||||
version: '1.4.0'
|
version: '1.5.2'
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *shared
|
<<: *shared
|
||||||
|
|
Loading…
Reference in a new issue