@@ -131,23 +131,23 @@ public static SharkNetMessage parseMessage(byte[] message, String sender, String
131
131
recipients2View = sb .toString ();
132
132
}
133
133
134
- CharSequence encrypted2View = "E2E encrypted: no " ;
134
+ CharSequence encrypted2View = "not E2E encrypted" ;
135
135
if (snMessage .encrypted ()) {
136
- encrypted2View = "E2E encrypted: yes " ;
136
+ encrypted2View = "is E2E encrypted" ;
137
137
}
138
138
139
139
// assume defaults at first
140
140
CharSequence sender2View = "from: unknown" ;
141
- CharSequence content2View = "decrypted message" ;
142
- CharSequence verified2View = "verified: no " ;
141
+ CharSequence content2View = "cannot decrypt message" ;
142
+ CharSequence verified2View = "not verified " ;
143
143
CharSequence timestamp2View = "time: unknown" ;
144
144
CharSequence iA2View = "iA: unknown" ;
145
145
146
146
147
147
// do we have an decrypted message?
148
148
if (snMessage .couldBeDecrypted ()) {
149
149
byte [] snContent = snMessage .getContent ();
150
- content2View = String . valueOf (snContent );
150
+ content2View = new String (snContent );
151
151
152
152
Timestamp creationTime = snMessage .getCreationTime ();
153
153
timestamp2View = DateTimeHelper .long2DateString (creationTime .getTime ());
@@ -164,12 +164,12 @@ public static SharkNetMessage parseMessage(byte[] message, String sender, String
164
164
sender2View = "from: " + senderName ;
165
165
166
166
if (snMessage .verified ()) {
167
- verified2View = "verified" ;
167
+ verified2View = "is verified" ;
168
168
169
169
int identityAssurance = SNChannelsComponent .getSharkNetChannelComponent ().
170
170
getAsapPKI ().getIdentityAssurance (snMessage .getSender ());
171
171
172
- iA2View = "iA ( " + senderName + "): " + identityAssurance ;
172
+ iA2View = "iA of " + senderName + " is " + identityAssurance ;
173
173
}
174
174
}
175
175
0 commit comments