Fixes personaName shown at wrong side
@@ -97,9 +97,10 @@ function genComponentConf() {
within the remoteNeedUri-need of the connection (for 1:1 chats)
*/
const relevantNeedUri =
- !get(message, "outgoingMessage") && this.groupChatMessage
+ !get(message, "outgoingMessage") &&
+ (this.groupChatMessage
? get(message, "originatorUri")
- : get(connection, "remoteNeedUri");
+ : get(connection, "remoteNeedUri"));
const relevantPersonaUri =
relevantNeedUri && getIn(allNeeds, [relevantNeedUri, "heldBy"]);
const personaName =
