2020-11-17 20:32:37 +01:00
|
|
|
<template>
|
2021-05-10 12:34:32 +02:00
|
|
|
<message-outgoing v-bind="{ ...$props, ...$attrs }" v-on="$listeners">
|
2020-12-14 16:11:45 +01:00
|
|
|
<div class="bubble">
|
2020-12-15 17:06:26 +01:00
|
|
|
<div class="original-message" v-if="inReplyToText">
|
2021-01-11 17:44:09 +01:00
|
|
|
<div class="original-message-sender">
|
|
|
|
|
{{ inReplyToSender || "Someone" }} said:
|
|
|
|
|
</div>
|
2021-05-06 23:12:02 +02:00
|
|
|
<div
|
|
|
|
|
class="original-message-text"
|
|
|
|
|
v-html="linkify($sanitize(inReplyToText))"
|
|
|
|
|
/>
|
2020-12-15 17:06:26 +01:00
|
|
|
</div>
|
|
|
|
|
|
2020-12-14 16:11:45 +01:00
|
|
|
<div class="message">
|
2021-02-25 16:15:49 +01:00
|
|
|
<span v-html="linkify($sanitize(messageText))" />
|
2020-12-14 16:11:45 +01:00
|
|
|
<span class="edit-marker" v-if="event.replacingEventId()"
|
|
|
|
|
>(edited)</span
|
|
|
|
|
>
|
2020-11-17 20:32:37 +01:00
|
|
|
</div>
|
2020-12-14 16:11:45 +01:00
|
|
|
</div>
|
2021-05-07 09:15:15 +02:00
|
|
|
</message-outgoing>
|
2020-11-17 20:32:37 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2021-05-07 09:15:15 +02:00
|
|
|
import MessageOutgoing from "./MessageOutgoing.vue";
|
2020-11-17 20:32:37 +01:00
|
|
|
|
|
|
|
|
export default {
|
2021-05-07 09:15:15 +02:00
|
|
|
extends: MessageOutgoing,
|
|
|
|
|
components: { MessageOutgoing },
|
2020-11-17 20:32:37 +01:00
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
@import "@/assets/css/chat.scss";
|
|
|
|
|
</style>
|