diff --git a/src/client/components/avatars.vue b/src/client/components/avatars.vue
index cac95e6d40..da862967dd 100644
--- a/src/client/components/avatars.vue
+++ b/src/client/components/avatars.vue
@@ -1,7 +1,7 @@
diff --git a/src/client/components/global/avatar.vue b/src/client/components/global/avatar.vue
index 83675a155c..64fb2116b6 100644
--- a/src/client/components/global/avatar.vue
+++ b/src/client/components/global/avatar.vue
@@ -1,9 +1,11 @@
+
+
@@ -12,8 +14,12 @@ import { defineComponent } from 'vue';
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
import { extractAvgColorFromBlurhash } from '@client/scripts/extract-avg-color-from-blurhash';
import { acct, userPage } from '@client/filters/user';
+import MkUserOnlineIndicator from '@client/components/user-online-indicator.vue';
export default defineComponent({
+ components: {
+ MkUserOnlineIndicator
+ },
props: {
user: {
type: Object,
@@ -30,6 +36,10 @@ export default defineComponent({
disablePreview: {
required: false,
default: false
+ },
+ showIndicator: {
+ required: false,
+ default: false
}
},
emits: ['click'],
@@ -93,7 +103,7 @@ export default defineComponent({
}
}
- .inner {
+ > .inner {
position: absolute;
bottom: 0;
left: 0;
@@ -106,5 +116,14 @@ export default defineComponent({
width: 100%;
height: 100%;
}
+
+ > .indicator {
+ position: absolute;
+ z-index: 1;
+ bottom: 0;
+ left: 0;
+ width: 20%;
+ height: 20%;
+ }
}
diff --git a/src/client/components/note-detailed.vue b/src/client/components/note-detailed.vue
index b25c97543b..50e76e5299 100644
--- a/src/client/components/note-detailed.vue
+++ b/src/client/components/note-detailed.vue
@@ -35,7 +35,7 @@