创建/更新频道接口添加频道菜单属性

This commit is contained in:
heavyrian2012
2025-05-12 14:27:07 +08:00
parent 4da9173c5f
commit 731fa00cc9
6 changed files with 79 additions and 63 deletions
@@ -4484,7 +4484,7 @@ public class MemoryMessagesStore implements IMessagesStore {
} else if(modifyType == Modify_Channel_Menu) {
OutputGetChannelInfo.OutputMenuList outputMenuButtons = GsonUtil.gson.fromJson(value, OutputGetChannelInfo.OutputMenuList.class);
if (!outputMenuButtons.isEmpty()) {
for (OutputGetChannelInfo.OutputMenu outputMenuButton : outputMenuButtons) {
for (PojoChannelMenu outputMenuButton : outputMenuButtons) {
newInfoBuilder.addMenu(outputMenuButton.toPbInfo());
}
}