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
2 changed files with 6 additions and 3 deletions

View File

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

View File

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