Commit 812b9e1
committed
fix(session): 修复系统消息可见性设置错误
- 修改addSessionSystemMessage方法,新增visible参数控制消息显示
- 调整调用处传递visible参数,确保系统消息正确显示
- 更新buildSystemMessage方法接收visible参数并正确设置消息属性
- 保障当sessionId存在时才添加系统消息
- 修正消息创建时visible属性的默认值问题1 parent fd92e6d commit 812b9e1
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
776 | | - | |
777 | | - | |
778 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| |||
1546 | 1546 | | |
1547 | 1547 | | |
1548 | 1548 | | |
| 1549 | + | |
1549 | 1550 | | |
1550 | 1551 | | |
1551 | 1552 | | |
| |||
1557 | 1558 | | |
1558 | 1559 | | |
1559 | 1560 | | |
1560 | | - | |
| 1561 | + | |
1561 | 1562 | | |
1562 | 1563 | | |
1563 | 1564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments