mirror of
https://github.com/thelounge/thelounge.git
synced 2026-04-17 20:38:35 -04:00
It is possible to send actions (/me et al.) to a STATUSMSG target (+#channel etc), even though thelounge does not currently support sending that. Show the statusmsg indicator on such messages.
20 lines
411 B
Vue
20 lines
411 B
Vue
<template>
|
|
<span
|
|
v-if="group"
|
|
:aria-label="`This message was only shown to users with ${group} mode`"
|
|
class="msg-statusmsg tooltipped tooltipped-e"
|
|
><span>{{ group }}</span></span
|
|
>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import {defineComponent} from "vue";
|
|
|
|
export default defineComponent({
|
|
name: "StatusmsgMarker",
|
|
props: {
|
|
group: {type: String, required: false, default: undefined},
|
|
},
|
|
});
|
|
</script>
|