From 78c5962ff06ece24a2c7923f433d49584f840983 Mon Sep 17 00:00:00 2001
From: Mikunj <mikunj@live.com.au>
Date: Tue, 15 Jan 2019 15:29:04 +1100
Subject: [PATCH] Fixed contact not being added after friend request is
 accepted.

---
 js/conversation_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/conversation_controller.js b/js/conversation_controller.js
index 816c3c4f4..37c1eb6a6 100644
--- a/js/conversation_controller.js
+++ b/js/conversation_controller.js
@@ -82,7 +82,7 @@
     initialize() {
       this.on('change:timestamp change:name change:number change:profileName', this.sort);
 
-      this.listenTo(conversations, 'add change:active_at', this.addActive);
+      this.listenTo(conversations, 'add change:active_at change:friendRequestStatus', this.addActive);
       this.listenTo(conversations, 'reset', () => this.reset([]));
 
       this.collator = new Intl.Collator();