Don't show report button on own messages
This commit is contained in:
parent
58ca6a818a
commit
2cfabaf251
|
@ -1040,7 +1040,7 @@
|
||||||
<!-- Report & Emoji buttons -->
|
<!-- Report & Emoji buttons -->
|
||||||
<div v-if="msg.msgID" class="emoji-button columns is-mobile is-gapless mb-0">
|
<div v-if="msg.msgID" class="emoji-button columns is-mobile is-gapless mb-0">
|
||||||
<!-- Report message button -->
|
<!-- Report message button -->
|
||||||
<div class="column" v-if="isWebhookEnabled('report')">
|
<div class="column" v-if="isWebhookEnabled('report') && msg.username !== username">
|
||||||
<button class="button is-small is-outlined mr-1"
|
<button class="button is-small is-outlined mr-1"
|
||||||
:class="{'is-danger': !msg.reported,
|
:class="{'is-danger': !msg.reported,
|
||||||
'has-text-grey': msg.reported}"
|
'has-text-grey': msg.reported}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user