Skip to content

Commit dd17002

Browse files
author
g8g3
committed
Made sure name is never undefined in people_involved (in convo off view).
1 parent b13d9dc commit dd17002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gmail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ var Gmail = function() {
941941

942942
thread.to.forEach(function(recipient) {
943943
var address = api.tools.extract_email_address(recipient);
944-
var name = api.tools.extract_name(recipient.replace(address, ''));
944+
var name = api.tools.extract_name(recipient.replace(address, '')) || '';
945945

946946
displayed_email_data.people_involved.push(
947947
[name, address]

0 commit comments

Comments
 (0)