fix for card channel topics not saving unsealed message

This commit is contained in:
balzack 2022-12-28 16:05:35 -08:00
parent acc846c88f
commit 43655bc416
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ export function useCardContext() {
},
setChannelTopicUnsealedDetail: async (cardId, channelId, topicId, revision, unsealed) => {
const { guid } = session.current;
await store.actions.setCardChannelTopicItemUnsealedDetail(guid, cardId, channelId, revision, unsealed);
await store.actions.setCardChannelTopicItemUnsealedDetail(guid, cardId, channelId, topicId, revision, unsealed);
},
removeChannel: async (cardId, channelId) => {
const { detail, profile } = getCardEntry(cardId);

View File

@ -491,7 +491,7 @@ export function useConversationContext() {
const { cardId, channelId } = conversationId.current;
if (cardId) {
await card.actions.setChannelTopicUnsealedDetail(cardId, channelId, topic.topicId, topic.detailRevision, topic.unsealedDetial);
await card.actions.setChannelTopicUnsealedDetail(cardId, channelId, topic.topicId, topic.detailRevision, topic.unsealedDetail);
}
else {
await channel.actions.setTopicUnsealedDetail(channelId, topic.topicId, topic.detailRevision, topic.unsealedDetail);