5 new, 10 updated patches.
[webos-internals:justyns-modifications.git] / messaging / messaging-total-message-count.patch
1 diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
2 index 84e13e3..0dd1a4b 100644
3 --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
5 @@ -408,7 +408,8 @@ var ChatviewAssistant = Class.create({
6                         response.record.displayName = MessagingUtils.formatPhoneNumber(response.record.displayName);
7                 }
8                 if (!this.chatDisplayName || this.chatDisplayName != response.record.displayName) {
9 -                       this.chatViewRecipientName.update(response.record.displayName.escapeHTML());
10 +                       this.lastTotalCount = response.record.totalCount;
11 +                       this.chatViewRecipientName.update("(" + this.lastTotalCount + ")" + " " + response.record.displayName.escapeHTML());
12                         this.chatDisplayName = response.record.displayName;
13                 }
14