fix: Remove Twitter links rendered in messages (#1570)

Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
Pranav Raj S 2020-12-31 19:17:00 +05:30 committed by GitHub
parent d35ce1b868
commit 8b7e43bdbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -247,7 +247,6 @@
background: lighten($warning-color, 32%);
border: 1px solid lighten($warning-color, 15%);
color: $color-heading;
padding-right: $space-large;
position: relative;
&::before {

View file

@ -19,9 +19,13 @@
class="icon ion-reply cursor-pointer"
@click="onTweetReply"
/>
<a :href="linkToTweet" target="_blank" rel="noopener noreferrer nofollow">
<i
<a
v-if="isATweet && isIncoming"
:href="linkToTweet"
target="_blank"
rel="noopener noreferrer nofollow"
>
<i
v-tooltip.top-start="$t('CHAT_LIST.VIEW_TWEET_IN_TWITTER')"
class="icon ion-android-open cursor-pointer"
/>