Skip to content

fix(notifications): use correct name for dm name#875

Merged
synoet merged 1 commit intomainfrom
synoet/notification-dms
Jan 9, 2026
Merged

fix(notifications): use correct name for dm name#875
synoet merged 1 commit intomainfrom
synoet/notification-dms

Conversation

@synoet
Copy link
Copy Markdown
Contributor

@synoet synoet commented Jan 8, 2026

resolve_channel_name returns a dynamic channel name for the SENDER not the RECIPIENT of the notification.

Because of this Direct Message notifications show up as from the person who receives it not he who sent it.
The name of my DM with Hutch for hutch is Teo. Because for him he is chatting with me. So it sends channel_name Teo.

Technically this is also broken for private channels without names (dyanmic name from participants). And is filtering out the name of the sender but we can clean that one up later.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 8, 2026

@synoet synoet force-pushed the synoet/notification-dms branch from 6a264cf to c5ee78e Compare January 8, 2026 23:39
@synoet synoet merged commit c609df5 into main Jan 9, 2026
35 checks passed
@synoet synoet deleted the synoet/notification-dms branch January 9, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants