Merge pull request #3529 from nextcloud/bugfix/noid/fix-talk-integration
Fix talk integration
This commit is contained in:
@@ -49,10 +49,15 @@ window.addEventListener('DOMContentLoaded', () => {
|
||||
const shortenedMessage = shortenedMessageCandidate === '' ? message.substr(0, 255) : shortenedMessageCandidate
|
||||
try {
|
||||
await buildSelector(CardCreateDialog, {
|
||||
props: {
|
||||
title: shortenedMessage,
|
||||
description: message + '\n\n' + '['
|
||||
+ t('deck', 'Message from {author} in {conversationName}', { author: actorDisplayName, conversationName })
|
||||
+ '](' + generateUrl('/call/' + conversationToken) + ')',
|
||||
+ t('deck', 'Message from {author} in {conversationName}', {
|
||||
author: actorDisplayName,
|
||||
conversationName,
|
||||
})
|
||||
+ '](' + window.location.protocol + '//' + window.location.host + generateUrl('/call/' + conversationToken) + ')',
|
||||
},
|
||||
})
|
||||
} catch (e) {
|
||||
console.debug('Card creation dialog was canceled')
|
||||
|
||||
Reference in New Issue
Block a user