mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
more conversation refactor
This commit is contained in:
parent
18bd9c3f25
commit
946d2870ad
@ -196,7 +196,7 @@ export function useConversation(cardId, channelId) {
|
||||
item.textColor = message.textColor ? message.textColor : '#444444';
|
||||
item.textSize = message.textSize ? message.textSize : 14;
|
||||
}
|
||||
if (detail.dataType === 'sealedtopic') {
|
||||
if (detail.dataType === 'sealedtopic' && state.contentKey) {
|
||||
const subject = decryptTopicSubject(detail.data, state.contentKey);
|
||||
item.assets = subject.message.assets;
|
||||
item.text = subject.message.text;
|
||||
|
Loading…
Reference in New Issue
Block a user