REQ-3045: url
This commit is contained in:
parent
554ddd8934
commit
8271342bf5
@ -85,8 +85,6 @@ public class MessageTemplateParserV3 {
|
||||
public void visitGroupKeyValue(ParsedGroupV3 group, ParsedKV kv) {
|
||||
if (!kv.isDisplayOnCard())
|
||||
return;
|
||||
if (im.getCardExtension() == null)
|
||||
im.setCardExtension(new ArrayList<>());
|
||||
CardExtensionItem item = new CardExtensionItem(kv.getKey(), kv.getValue());
|
||||
// IM人员: 张三(130****5556)
|
||||
if (kv.getContentType() == KVContentType.PERSON_ID) {
|
||||
@ -97,6 +95,8 @@ public class MessageTemplateParserV3 {
|
||||
"%s(%s)", person.getRealName(), person.maskPhone()));
|
||||
}
|
||||
}
|
||||
if (im.getCardExtension() == null)
|
||||
im.setCardExtension(new ArrayList<>());
|
||||
im.getCardExtension().add(item);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user