Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. messages = await ipc.callMain("getRelevantMessages", this.currentConversation);
  2.  
  3. async getRelevantMessages(conversation: Conversations)
  4. {
  5. let messages = await this.messageRepository.find({ convo_id: conversation.id, type: 12 });
  6. return messages;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement