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
@@ -26,12 +26,16 @@ public class InputTransferGroup extends InputGroupBase {
groupBuilder.setGroupId(group_id);
groupBuilder.setNewOwner(new_owner);
for (Integer line : to_lines
) {
groupBuilder.addToLine(line);
if (to_lines != null) {
for (Integer line : to_lines
) {
groupBuilder.addToLine(line);
}
}
groupBuilder.setNotifyContent(notify_message.toProtoMessageContent());
if (notify_message != null) {
groupBuilder.setNotifyContent(notify_message.toProtoMessageContent());
}
return groupBuilder.build();
}