Skip to content

Commit

Permalink
obsolete check removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kakysha committed Jan 20, 2017
1 parent bf36e42 commit 687736f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/controllers/correspondentDevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('correspondentDeviceController
var myPaymentAddress = indexScope.shared_address;
document.chatForm.message.focus();

if (correspondent && !correspondentListService.messageEventsByCorrespondent[correspondent.device_address])
if (!correspondentListService.messageEventsByCorrespondent[correspondent.device_address])
correspondentListService.messageEventsByCorrespondent[correspondent.device_address] = [];
$scope.messageEvents = correspondentListService.messageEventsByCorrespondent[correspondent.device_address];

Expand Down

0 comments on commit 687736f

Please sign in to comment.