diff --git a/frontend/src/components/Communications.vue b/frontend/src/components/Communications.vue
index d653791b..eb57b389 100644
--- a/frontend/src/components/Communications.vue
+++ b/frontend/src/components/Communications.vue
@@ -156,11 +156,8 @@
: 'justify-start',
]"
>
-
-
+
+
{
return kind === ThreadKind.ThreadKindTo ||
- kind === ThreadKind.ThreadKindTemplate
+ kind === ThreadKind.ThreadKindTemplate ||
+ kind === ThreadKind.ThreadKindPhoneCall
? "outgoing"
: "incoming";
};
@@ -966,6 +964,11 @@ const getMessageDirection = (kind: ThreadKind): "incoming" | "outgoing" => {
const getMessageAuthor = (thread: ThreadWithEntry): Author | null => {
const direction = getMessageDirection(thread.kind);
+ // For phone calls, always show the member who made the call
+ if (thread.kind === ThreadKind.ThreadKindPhoneCall && thread.entry?.member) {
+ return getMemberById(thread.entry.member);
+ }
+
if (direction === "outgoing" && thread.entry?.member) {
return getMemberById(thread.entry?.member);
} else if (direction === "incoming") {