From b42a8aab1fd3dd84f20fffdd21be7b39aa1932a3 Mon Sep 17 00:00:00 2001 From: Beaudan Campbell-Brown Date: Thu, 14 Nov 2019 15:48:11 +1100 Subject: [PATCH] Typo Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com> --- js/models/conversations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models/conversations.js b/js/models/conversations.js index 5a9617a75..0cc956d7b 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -767,7 +767,7 @@ return !!this.get('secondaryStatus'); }, getPrimaryDevicePubKey() { - return this.get('getPrimaryDevicePubKey') || this.id; + return this.get('primaryDevicePubKey') || this.id; }, async setSecondaryStatus(newStatus, primaryDevicePubKey) { if (this.get('secondaryStatus') !== newStatus) {