diff --git a/background.html b/background.html
index 78cc9fba3..e7edcaff2 100644
--- a/background.html
+++ b/background.html
@@ -142,6 +142,9 @@
{{ #number }}
{{ number }}
{{ /number }}
+ {{ #profileName }}
+ {{ profileName }}
+ {{ /profileName }}
{{ #isVerified }}
{{ verified }}
{{ /isVerified }}
@@ -267,7 +270,12 @@
+
diff --git a/main.js b/main.js
index 3275f2b3e..aba728400 100644
--- a/main.js
+++ b/main.js
@@ -98,6 +98,7 @@ function createWindow () {
version: app.getVersion(),
buildExpiration: config.get('buildExpiration'),
serverUrl: config.get('serverUrl'),
+ cdnUrl: config.get('cdnUrl'),
certificateAuthorities: config.get('certificateAuthorities'),
environment: config.environment,
node_version: process.versions.node
diff --git a/protos/DeviceMessages.proto b/protos/DeviceMessages.proto
index 18721736b..1322c159d 100644
--- a/protos/DeviceMessages.proto
+++ b/protos/DeviceMessages.proto
@@ -15,4 +15,5 @@ message ProvisionMessage {
optional string number = 3;
optional string provisioningCode = 4;
optional string userAgent = 5;
+ optional bytes profileKey = 6;
}
diff --git a/protos/IncomingPushMessageSignal.proto b/protos/IncomingPushMessageSignal.proto
index 4c8d54d48..76070e062 100644
--- a/protos/IncomingPushMessageSignal.proto
+++ b/protos/IncomingPushMessageSignal.proto
@@ -83,6 +83,7 @@ message DataMessage {
enum Flags {
END_SESSION = 1;
EXPIRATION_TIMER_UPDATE = 2;
+ PROFILE_KEY_UPDATE = 4;
}
optional string body = 1;
@@ -90,6 +91,7 @@ message DataMessage {
optional GroupContext group = 3;
optional uint32 flags = 4;
optional uint32 expireTimer = 5;
+ optional bytes profileKey = 6;
}
message SyncMessage {
@@ -180,6 +182,7 @@ message ContactDetails {
optional Avatar avatar = 3;
optional string color = 4;
optional Verified verified = 5;
+ optional bytes profileKey = 6;
}
message GroupDetails {
diff --git a/stylesheets/_global.scss b/stylesheets/_global.scss
index d4ef13503..2ffafda5b 100644
--- a/stylesheets/_global.scss
+++ b/stylesheets/_global.scss
@@ -287,6 +287,14 @@ $avatar-size: 44px;
}
}
}
+.profileName {
+ font-size: smaller;
+
+ &:before {
+ content: '~';
+ }
+}
+
.conversation-list-item {
cursor: pointer;
&:hover {
diff --git a/stylesheets/manifest.css b/stylesheets/manifest.css
index 9a7729ac5..5e4cc24e1 100644
--- a/stylesheets/manifest.css
+++ b/stylesheets/manifest.css
@@ -296,6 +296,11 @@ button.hamburger {
.new-group-update .members .contact .last-timestamp {
display: none; }
+.profileName {
+ font-size: smaller; }
+ .profileName:before {
+ content: '~'; }
+
.conversation-list-item {
cursor: pointer; }
.conversation-list-item:hover {