(session)
| 4068 | this.showToast('No active session to share', 'error'); |
| 4069 | return null; |
| 4070 | } |
| 4071 | |
| 4072 | const messages = await chatDB.getSessionMessages(session.id); |
| 4073 | if (messages.length === 0) { |
| 4074 | this.showToast('Cannot share empty chat', 'error'); |
| 4075 | return null; |
| 4076 | } |
| 4077 | |
| 4078 | const isUpdate = !!session.shareInfo?.shareId; |
| 4079 |
no test coverage detected