server api群组功能添加

This commit is contained in:
heavyrain.lee
2019-05-21 21:55:20 +08:00
parent d66b01c681
commit 4b93157816
8 changed files with 369 additions and 16 deletions
@@ -50,12 +50,16 @@ public class InputAddGroupMember extends InputGroupBase {
addGroupBuilder.addAddedMember(groupMemberBuilder);
}
for (Integer line : to_lines
) {
addGroupBuilder.addToLine(line);
if (to_lines != null) {
for (Integer line : to_lines
) {
addGroupBuilder.addToLine(line);
}
}
addGroupBuilder.setNotifyContent(notify_message.toProtoMessageContent());
if (notify_message != null) {
addGroupBuilder.setNotifyContent(notify_message.toProtoMessageContent());
}
return addGroupBuilder.build();
}